Changes between Version 8 and Version 9 of librenms
- Timestamp:
- Nov 25, 2016, 3:02:22 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
librenms
v8 v9 13 13 }}} 14 14 The 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.17 15 18 16 Now, edit the file /etc/snmp/snmp.conf: … … 79 77 }}} 80 78 81 What happens if you try using the wrong community string (i.e. change NetManage to something else) using the options "'''-cNetWrong'''”?79 What happens if you try using the wrong community string (i.e. change !NetManage to something else) using the options "'''-c !NetWrong'''”? 82 80 83 81 === SNMP Walk and OIDs === … … 126 124 $ sudo vi snmpd.conf 127 125 }}} 128 Then, copy/paste the following (change pcX to your own pc number):126 Then, copy/paste the following: 129 127 {{{ 130 128 # Listen for connections on all interfaces (both IPv4 *and* IPv6) … … 192 190 {{{ 193 191 CREATE DATABASE librenms; 194 GRANT ALL PRIVILEGES ON librenms.* 195 TO 'librenms'@'localhost' 196 IDENTIFIED BY '<Your Password>' 197 ; 192 GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost' IDENTIFIED BY '<Your Password>'; 198 193 FLUSH PRIVILEGES; 199 194 exit 200 195 }}} 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 199 Then edit '''/etc/mysql/mysql.conf.d/mysqld.cnf''' to avoid mysql to work in strict mode 200 {{{ 202 201 vi /etc/mysql/mysql.conf.d/mysqld.cnf 203 204 Within the [mysqld]section please add:202 }}} 203 Within the '''[mysqld]''' section please add: 205 204 {{{ 206 205 innodb_file_per_table=1 207 206 sql-mode="" 208 207 }}} 208 Restart Mysql service 209 {{{ 209 210 service 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 }}} 211 212 212 213 ==== Install LibreNMS ==== … … 423 424 424 425 Let's add localhost (i.e.: YOUR virtual server), using the following commands. Later you'll do this from the Web interface: 425 426 {{{ 426 427 # cd /opt/librenms 427 428 # php addhost.php localhost NetManage v2c 428 429 }}} 429 430 You should see: 430 431