- root@indy-librenms:/home/mhammett# cat /opt/librenms/config.php
- <?php
- ## Have a look in defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!
- ### Database config
- $config['db_host'] = '10.0.254.23';
- $config['db_user'] = 'librenms';
- $config['db_pass'] = 'fLkWC6ofN8g1d4NjQq5EqoLx4lLYFecqGCoPjlsfwEXy50Kn8c';
- $config['db_name'] = 'librenms';
- $config['db']['extension'] = "mysqli";// mysql or mysqli
- // This is the user LibreNMS will run as
- //Please ensure this user is created and has the correct permissions to your install
- $config['user'] = 'librenms';
- ### Memcached config - We use this to store realtime usage
- $config['memcached']['enable'] = FALSE;
- $config['memcached']['host'] = "localhost";
- $config['memcached']['port'] = 11211;
- ### Locations - it is recommended to keep the default
- $config['install_dir'] = "/opt/librenms";
- ### 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
- #$config['base_url'] = "http://librenms.company.com";
- ### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir
- ### and that your web server has permission to talk to rrdcached.
- #$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
- ### Default community
- $config['snmp']['community'] = array("public");
- ### Authentication Model
- $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
- ### List of RFC1918 networks to allow scanning-based discovery
- $config['nets'][] = "10.0.0.0/8";
- #$config['nets'][] = "172.16.0.0/12";
- #$config['nets'][] = "192.168.0.0/16";
- # following is necessary for poller-wrapper
- # poller-wrapper is released public domain
- $config['poller-wrapper']['alerter'] = FALSE;
- # Uncomment the next line to disable daily updates
- #$config['update'] = 0;
- ##Mike added
- $config['enable_syslog'] = 1;
- $config['enable_billing'] = 1; # Enable Billing
- #$config['oxidized']['enabled'] = TRUE;
- #$config['oxidized']['url'] = 'http://indy-librenms.midwest-ix.com:8000/oxidized/';
- #$config['oxidized']['features']['versioning'] = true;
- $config['smokeping']['dir'] = '/var/lib/smokeping'; // Ubuntu 16.04 Location
- #$config['smokeping']['dir'] = '/opt/smokeping/data';
- $config['smokeping']['pings'] = 60; // should be equal to "pings" in your smokeping config
- $config['smokeping']['integration'] = true;
- $config['rrdtool_version'] = '1.6.0';
- $config['rrdcached'] = "unix:/var/run/rrdcached.sock";
- $config['fping_options']['retries'] = 5;
- $config['fping_options']['timeout'] = 1000;
- $config['fping_options']['count'] = 4;
- $config['fping_options']['millisec'] = 1000;