2007-04-03 14:10:23 +00:00
|
|
|
<?php
|
|
|
|
|
2020-03-04 08:18:56 +00:00
|
|
|
## Have a look in misc/config_definitions.json for examples of settings you can set here. DO NOT EDIT misc/config_definitions.json!
|
2010-02-08 18:56:26 +00:00
|
|
|
|
2015-09-21 21:06:57 +00:00
|
|
|
// This is the user LibreNMS will run as
|
|
|
|
//Please ensure this user is created and has the correct permissions to your install
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['user'] = 'librenms';
|
2015-09-21 21:06:57 +00:00
|
|
|
|
2013-11-04 23:33:32 +00:00
|
|
|
### This should *only* be set if you want to *force* a particular hostname/port
|
2010-09-20 23:47:27 +00:00
|
|
|
### It will prevent the web interface being usable form any other hostname
|
2019-05-22 18:31:24 +00:00
|
|
|
#$config['base_url'] = "/";
|
2010-07-19 18:21:48 +00:00
|
|
|
|
2013-11-04 23:33:32 +00:00
|
|
|
### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
|
2010-07-04 21:09:22 +00:00
|
|
|
### and that your web server has permission to talk to rrdcached.
|
|
|
|
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
|
|
|
|
|
2007-04-03 14:10:23 +00:00
|
|
|
### Default community
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['snmp']['community'] = array('public');
|
2010-09-26 22:10:04 +00:00
|
|
|
|
2010-07-17 20:30:05 +00:00
|
|
|
### Authentication Model
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
2010-02-28 02:20:05 +00:00
|
|
|
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
2009-12-31 19:06:05 +00:00
|
|
|
|
2013-10-29 00:19:28 +00:00
|
|
|
### List of RFC1918 networks to allow scanning-based discovery
|
2013-10-29 12:25:42 +00:00
|
|
|
#$config['nets'][] = "10.0.0.0/8";
|
|
|
|
#$config['nets'][] = "172.16.0.0/12";
|
|
|
|
#$config['nets'][] = "192.168.0.0/16";
|
2013-10-29 00:19:28 +00:00
|
|
|
|
2013-11-04 06:16:01 +00:00
|
|
|
# Uncomment the next line to disable daily updates
|
|
|
|
#$config['update'] = 0;
|
2016-07-31 22:39:45 +00:00
|
|
|
|
|
|
|
# Number in days of how long to keep old rrd files. 0 disables this feature
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['rrd_purge'] = 0;
|
2015-04-13 09:37:12 +00:00
|
|
|
|
|
|
|
# Uncomment to submit callback stats via proxy
|
|
|
|
#$config['callback_proxy'] = "hostname:port";
|
2016-01-26 12:49:30 +00:00
|
|
|
|
|
|
|
# Set default port association mode for new devices (default: ifIndex)
|
|
|
|
#$config['default_port_association_mode'] = 'ifIndex';
|
2016-08-25 23:40:11 +00:00
|
|
|
|
|
|
|
# Enable the in-built billing extension
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['enable_billing'] = 1;
|
2016-08-25 23:40:11 +00:00
|
|
|
|
|
|
|
# Enable the in-built services support (Nagios plugins)
|
2021-09-30 07:42:03 +00:00
|
|
|
#$config['show_services'] = 1;
|