Changes between Version 8 and Version 9 of librenms


Ignore:
Timestamp:
Nov 25, 2016, 3:02:22 AM (7 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • librenms

    v8 v9  
    1313}}}
    1414The second of the two commands downloads the standard IETF and IANA SNMP MIBs which are not included by default.
    15 
    16 '''Note''': to find snmp-mibs-downloader, you must enable the “multiverse” source in your APT configuration. This has already been done for you in this workshop.
    1715
    1816Now, edit the file /etc/snmp/snmp.conf:
     
    7977}}}
    8078
    81 What happens if you try using the wrong community string (i.e. change NetManage to something else) using the options "'''-c NetWrong'''”?
     79What happens if you try using the wrong community string (i.e. change !NetManage to something else) using the options "'''-c !NetWrong'''”?
    8280
    8381=== SNMP Walk and OIDs ===
     
    126124$ sudo vi snmpd.conf
    127125}}}
    128 Then, copy/paste the following (change pcX to your own pc number):
     126Then, copy/paste the following:
    129127{{{
    130128#  Listen for connections on all interfaces (both IPv4 *and* IPv6)
     
    192190{{{
    193191CREATE DATABASE librenms;
    194 GRANT ALL PRIVILEGES ON librenms.*
    195 TO 'librenms'@'localhost'
    196 IDENTIFIED BY '<Your Password>'
    197 ;
     192GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost' IDENTIFIED BY '<Your Password>';
    198193FLUSH PRIVILEGES;
    199194exit
    200195}}}
    201 PLEASE NOTE
     196
     197'''Note''' : Here we are using <your Password> as the password for LibreNMS to access MySQL. Please replace <your Password> with, Please do not forget the password as you will need it in the future
     198
     199Then edit '''/etc/mysql/mysql.conf.d/mysqld.cnf''' to avoid mysql to work in strict mode
     200{{{
    202201vi /etc/mysql/mysql.conf.d/mysqld.cnf
    203 
    204 Within the [mysqld] section please add:
     202}}}
     203Within the '''[mysqld]''' section please add:
    205204{{{
    206205innodb_file_per_table=1
    207206sql-mode=""
    208207}}}
     208Restart Mysql service
     209{{{
    209210service mysql restart
    210 Here we are using <your Password> as the password for LibreNMS to access MySQL. Please replace <your Password> with, Please do not forget the password as you will need it in the future
     211}}}
    211212
    212213==== Install LibreNMS ====
     
    423424
    424425Let's add localhost (i.e.: YOUR virtual server), using the following commands. Later you'll do this from the Web interface:
    425 
     426{{{
    426427# cd /opt/librenms
    427428# php addhost.php localhost NetManage v2c
    428 
     429}}}
    429430You should see:
    430431