mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Merge pull request #920 from laf/issue-902
Updated install docs to advise about whitespace in config.php
This commit is contained in:
@@ -134,6 +134,8 @@ Change the values to the right of the equal sign for lines beginning with `$conf
|
||||
|
||||
Change the value of `$config['snmp']['community']` from `public` to whatever your read-only SNMP community is. If you have multiple communities, set it to the most common.
|
||||
|
||||
** Be sure you have no characters (including whitespace like: newlines, spaces, tabs, etc) outside of the `<?php?>` blocks. Your graphs will break otherwise. **
|
||||
|
||||
### Initialise the database ###
|
||||
|
||||
Initiate the follow database with the following command:
|
||||
|
||||
@@ -143,6 +143,8 @@ Add the following line to the end of `config.php`:
|
||||
|
||||
$config['fping'] = "/usr/sbin/fping";
|
||||
|
||||
** Be sure you have no characters (including whitespace like: newlines, spaces, tabs, etc) outside of the `<?php?>` blocks. Your graphs will break otherwise. **
|
||||
|
||||
### Initialise the database ###
|
||||
|
||||
Initiate the follow database with the following command:
|
||||
|
||||
@@ -58,6 +58,8 @@ Change the values to the right of the equal sign for lines beginning with `$conf
|
||||
|
||||
Change the value of `$config['snmp']['community']` from `public` to whatever your read-only SNMP community is. If you have multiple communities, set it to the most common.
|
||||
|
||||
** Be sure you have no characters (including whitespace like: newlines, spaces, tabs, etc) outside of the `<?php?>` blocks. Your graphs will break otherwise. **
|
||||
|
||||
### Initialise the database ###
|
||||
|
||||
Initiate the follow database with the following command:
|
||||
|
||||
Reference in New Issue
Block a user