Changes between Version 15 and Version 16 of librenms
- Timestamp:
- Nov 30, 2016, 3:17:52 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
librenms
v15 v16 264 264 ==== Cloning the LibreNMS source code with git ==== 265 265 266 LibreNMS is installed using git. If you're not familiar with git, check out the git book or the tips at git ready. The initial install from github.com is called a '' git clone''; subsequent updates are done through ''git pull''.266 LibreNMS is installed using git. If you're not familiar with git, check out the git book or the tips at git ready. The initial install from github.com is called a '''git clone'''; subsequent updates are done through ''git pull''. 267 267 268 268 The initial clone can take quite a while (nearly 3 minutes on a 10Mbps connection is typical) as the size of the software repository is 220+ MB in size. … … 359 359 You may see warnings about the software not being up to date, and some more about permissions. You can probably ignore these for now, but it might come in useful later if you experience issues with LibreNMS. 360 360 361 We can now secure the '' /opt/librenms'' directory again:361 We can now secure the '''/opt/librenms''' directory again: 362 362 {{{ 363 363 # chown librenms /opt/librenms … … 367 367 368 368 ==== Setting the SNMP community ==== 369 First, edit the file /opt/librenms/config.php,369 First, edit the file '''/opt/librenms/config.php''', 370 370 371 371 # vi /opt/librenms/config.php … … 386 386 But to be on the safe side, and not scan networks outside your organization, LibreNMS needs to be told which subnets it's allowed to scan for new devices. 387 387 388 Still in the file /opt/librenms/config.php, find the line:388 Still in the file '''/opt/librenms/config.php''', find the line: 389 389 {{{ 390 390 #$config['nets'][] = "10.0.0.0/8"; … … 407 407 Since "both" devices are in fact the same, their SNMP sysName will be identical, and we can tell LibreNMS to NOT add devices if one already exists with the same sysName - after all, this shouldn't happen in a well configured network! 408 408 409 To avoid this, add the following line at the bottom of the config.phpfile:409 To avoid this, add the following line at the bottom of the '''config.php''' file: 410 410 {{{ 411 411 $config['allow_duplicate_sysName'] = false;