Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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'] = 'localhost';
- $config['db_port'] = '3306';
- $config['db_user'] = 'librenms';
- $config['db_pass'] = '*******';
- $config['db_name'] = '*******';
- $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'] = TRUE;
- $config['memcached']['enable'] = FALSE;
- $config['memcached']['host'] = "localhost";
- $config['memcached']['port'] = 21201;
- ### Locations - it is recommended to keep the default
- $config['install_dir'] = "/opt/librenms";
- $config['rrdcached'] = "unix:/var/run/rrdcached/rrdcached.sock";
- $config['rrdtool_version'] = 1.6;
- ### Default community
- $config['snmp']['community'] = array("**", "**", "**");
- # SNMP time out ladenie, niekedy to reaguje pomalsie..
- $config['snmp']['timeout'] = 10;
- ### Authentication Model
- #$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
- $config['auth_mechanism'] = "ldap"; # default, other options: ldap, http-auth
- unset($config['auth_ldap_group']);
- unset($config['auth_ldap_groups']);
- ##unset($config['auth_ldap_groupmemberattr']);
- $config['auth_ldap_groups']['ip']['level'] = 10;
- $config['auth_ldap_groups']['monitoring']['level'] = 7;
- $config['auth_ldap_groups']['guest']['level'] = 1;
- $config['auth_ldap_version'] = 3; # v2 or v3
- $config['auth_ldap_server'] = "our-domain-server";
- $config['auth_ldap_port'] = 389;
- $config['auth_ldap_starttls'] = FALSE;
- $config['auth_ldap_debug'] = true;
- $config['auth_ldap_prefix'] = "uid=";
- $config['auth_ldap_suffix'] = ",ou=people,dc=our-domain,dc=sk";
- $config['auth_ldap_groupbase'] = "cn=ip,ou=groups,dc=our-domain,dc=sk";
- $config['auth_ldap_groupmemberattr'] = "memberUid";
- ### 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'][] = "172.16.200.0/24";
- $config['nets'][] = "192.168.224.0/24";
- # Uncomment the next line to disable daily updates
- $config['allow_duplicate_sysName'] = false;
- $config['addhost_alwayscheckip'] = true;
- $config['oxidized']['group']['os'][] = array('match' => 'ios', 'group' => 'ios');
- $config['oxidized']['group']['os'][] = array('match' => 'ciscosb', 'group' => 'smb');
- $config['oxidized']['group']['os'][] = array('match' => 'routeros', 'group' => 'mkt');
- # SNMP bug v Huawei
- $config['discovery_modules']['q-bridge-mib'] = 0;
- $config['discovery_modules']['Q-BRIDGE-MIB'] = 0;
- $config['discovery_modules']['vlans'] = 0;
- $config['poller_modules']['q-bridge-mib'] = 0;
- $config['mibs']['Q-BRIDGE-MIB'] = 0;
- $config['module']['Q-BRIDGE-MIB'] = 0;
- $config['mibs']['Q-BRIDGE-MIB']['enable'] = 0;
- # $config['bad_if'] = array_diff($config['bad_if'], array('ras'));
- # Ladenie false-alarmov pre ICMP check..
- $config['fping_options']['retries'] = 5;
- $config['fping_options']['timeout'] = 1000;
- $config['fping_options']['count'] = 4;
- $config['fping_options']['millisec'] = 1000;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement