mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Cleanup config.php.default (#13297)
Comment out all lines. This allows setting in webui and lnms config:set
This commit is contained in:
parent
fafb5a62c2
commit
6b779c3178
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// This is the user LibreNMS will run as
|
// This is the user LibreNMS will run as
|
||||||
//Please ensure this user is created and has the correct permissions to your install
|
//Please ensure this user is created and has the correct permissions to your install
|
||||||
$config['user'] = 'librenms';
|
#$config['user'] = 'librenms';
|
||||||
|
|
||||||
### This should *only* be set if you want to *force* a particular hostname/port
|
### This should *only* be set if you want to *force* a particular hostname/port
|
||||||
### It will prevent the web interface being usable form any other hostname
|
### It will prevent the web interface being usable form any other hostname
|
||||||
@ -15,10 +15,10 @@ $config['user'] = 'librenms';
|
|||||||
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
|
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
|
||||||
|
|
||||||
### Default community
|
### Default community
|
||||||
$config['snmp']['community'] = array('public');
|
#$config['snmp']['community'] = array('public');
|
||||||
|
|
||||||
### Authentication Model
|
### Authentication Model
|
||||||
$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
#$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
||||||
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
||||||
|
|
||||||
### List of RFC1918 networks to allow scanning-based discovery
|
### List of RFC1918 networks to allow scanning-based discovery
|
||||||
@ -30,7 +30,7 @@ $config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
|||||||
#$config['update'] = 0;
|
#$config['update'] = 0;
|
||||||
|
|
||||||
# Number in days of how long to keep old rrd files. 0 disables this feature
|
# Number in days of how long to keep old rrd files. 0 disables this feature
|
||||||
$config['rrd_purge'] = 0;
|
#$config['rrd_purge'] = 0;
|
||||||
|
|
||||||
# Uncomment to submit callback stats via proxy
|
# Uncomment to submit callback stats via proxy
|
||||||
#$config['callback_proxy'] = "hostname:port";
|
#$config['callback_proxy'] = "hostname:port";
|
||||||
@ -39,7 +39,7 @@ $config['rrd_purge'] = 0;
|
|||||||
#$config['default_port_association_mode'] = 'ifIndex';
|
#$config['default_port_association_mode'] = 'ifIndex';
|
||||||
|
|
||||||
# Enable the in-built billing extension
|
# Enable the in-built billing extension
|
||||||
$config['enable_billing'] = 1;
|
#$config['enable_billing'] = 1;
|
||||||
|
|
||||||
# Enable the in-built services support (Nagios plugins)
|
# Enable the in-built services support (Nagios plugins)
|
||||||
$config['show_services'] = 1;
|
#$config['show_services'] = 1;
|
||||||
|
@ -833,31 +833,6 @@
|
|||||||
"default": "H:i:s",
|
"default": "H:i:s",
|
||||||
"type": "text"
|
"type": "text"
|
||||||
},
|
},
|
||||||
"db_name": {
|
|
||||||
"default": "librenms",
|
|
||||||
"hidden": true,
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"db_pass": {
|
|
||||||
"default": null,
|
|
||||||
"hidden": true,
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"db_port": {
|
|
||||||
"default": 3306,
|
|
||||||
"hidden": true,
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"db_socket": {
|
|
||||||
"default": null,
|
|
||||||
"hidden": true,
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"db_user": {
|
|
||||||
"default": "librenms",
|
|
||||||
"hidden": true,
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
"debug.run_trace": {
|
"debug.run_trace": {
|
||||||
"default": false,
|
"default": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
@ -3442,6 +3417,10 @@
|
|||||||
"other": "Other"
|
"other": "Other"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"group": {
|
||||||
|
"type": "text",
|
||||||
|
"default": "librenms"
|
||||||
|
},
|
||||||
"gui.network-map.style": {
|
"gui.network-map.style": {
|
||||||
"default": "new",
|
"default": "new",
|
||||||
"type": "select",
|
"type": "select",
|
||||||
@ -5397,6 +5376,10 @@
|
|||||||
"value": "integer|min:0"
|
"value": "integer|min:0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"user": {
|
||||||
|
"type": "text",
|
||||||
|
"default": "librenms"
|
||||||
|
},
|
||||||
"vertical_summary": {
|
"vertical_summary": {
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
Loading…
Reference in New Issue
Block a user