Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ?php
- ## Have a look in includes/defaults.inc.php for examples of settings you can set here. DO NOT EDIT de$
- ### Database config
- $config['db_host'] = '127.0.0.1';
- $config['db_user'] = 'librenms';
- $config['db_pass'] = 'D42nf23rewD';
- $config['db_name'] = 'librenms';
- $config['db']['extension'] = 'mysqli';// mysql or mysqli
- ### Memcached config - We use this to store realtime usage
- $config['memcached']['enable'] = FALSE;
- $config['memcached']['host'] = 'localhost';
- $config['memcached']['port'] = 11211;
- // 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';
- ### 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'] = "/";
- ### 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;
- # Uncomment to submit callback stats via proxy
- #$config['callback_proxy'] = "hostname:port";
- # Set default port association mode for new devices (default: ifIndex)
- #$config['default_port_association_mode'] = 'ifIndex';
- $config['enable_billing'] = 1;
- $config['show_services'] = 1;
- $config['nagios_plugins'] = "/usr/lib/nagios/plugins";
- $config['enable_syslog'] = 1;
- # Oxidized configuration
- $config['oxidized']['enabled'] = TRUE;
- $config['oxidized']['url'] = 'http://127.0.0.1:8888';
- $config['oxidized']['features']['versioning'] = true;
- $config['oxidized']['group_support'] = true;
- $config['oxidized']['default_group'] = 'default';
- $config['oxidized']['reload_nodes'] = true;
- # NFSen configuration
- $config['nfsen_enable'] = 1;
- $config['nfsen_split_char'] = '.';
- $config['nfsen_rrds'][] = '/data/nfsen/profiles-stat/live/';
- $config['nfsen_rrds'][] = '/data/nfsen/profiles-stat';
- # RRDCached
- $config['rrdtool_version'] = '1.5.5';
- $config['rrdcached'] = "unix:/var/run/rrdcached.sock";
- #Network Map Configurator
- $config['network_map_vis_options'] = '{
- "nodes": {
- "color": {
- "border": "rgba(0,0,0,1)",
- "background": "rgba(24,162,252,1)",
- "highlight": {
- "border": "rgba(0,0,0,1)",
- "background": "rgba(15,255,28,1)"
- },
- "hover": {
- "border": "rgba(0,0,0,1)",
- "background": "rgba(225,255,17,1)"
- }
- },
- "font": {
- "size": 17
- },
- "physics": false
- },
- "edges": {
- "smooth": {
- "forceDirection": "none"
- }
- },
- "interaction": {
- "hover": true,
- "multiselect": true,
- "navigationButtons": true
- },
- "manipulation": {
- "enabled": true
- },
- "physics": {
- "barnesHut": {
- "avoidOverlap": 0.11
- },
- "minVelocity": 0.75
- }
- }';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement