'#aeaeae', '10' => '#79847e', '20' => '#97ffca', '30' => '#a800ff', '40' => '#6c00ff', '50' => '#00d2ff', '60' => '#0090ff', '70' => '#ffe400', '80' => '#ffa200', '90' => '#ff6600', '100' => '#ff0000', ); // Network Map Items $config['network_map_items'] = array('xdp','mac'); // Network Map Visualization Options // See http://visjs.org/docs/network/ for description of these options. $config['network_map_vis_options'] = '{ layout:{ randomSeed:2 }, "edges": { arrows: { to: {enabled: true, scaleFactor:0.5}, }, "smooth": { enabled: false }, font: { size: 14, color: "red", face: "sans", background: "white", strokeWidth:3, align: "middle", strokeWidth: 2 } }, "physics": { "barnesHut": { "gravitationalConstant": -2000, "centralGravity": 0.3, "springLength": 200, "springConstant": 0.04, "damping": 0.09, "avoidOverlap": 1 }, "forceAtlas2Based": { "gravitationalConstant": -50, "centralGravity": 0.01, "springLength": 200, "springConstant": 0.08, "damping": 0.4, "avoidOverlap": 1 }, "repulsion": { "centralGravity": 0.2, "springLength": 250, "springConstant": 0.2, "nodeDistance": 200, "damping": 0.07 }, "hierarchicalRepulsion": { "nodeDistance": 300, "centralGravity": 0.2, "springLength": 300, "springConstant": 0.2, "damping": 0.07 }, "maxVelocity": 50, "minVelocity": 0.4, "solver": "hierarchicalRepulsion", "stabilization": { "enabled": true, "iterations": 1000, "updateInterval": 100, "onlyDynamicEdges": false, "fit": true }, "timestep": 0.4, } }'; // Device page options $config['show_overview_tab'] = true; $config['cpu_details_overview'] = false; //By default show only average cpu in device overview // The device overview page options $config['overview_show_sysDescr'] = true; // Enable checking of version in discovery // Poller/Discovery Modules $config['enable_bgp'] = 1; // Enable BGP session collection and display $config['enable_syslog'] = 0; // Enable Syslog $config['enable_inventory'] = 1; // Enable Inventory $config['enable_pseudowires'] = 1; // Enable Pseudowires $config['enable_vrfs'] = 1; // Enable VRFs $config['enable_vrf_lite_cisco'] = 1; // Enable routes for VRF lite cisco $config['enable_sla'] = 0; // Enable Cisco SLA collection and display // Ports extension modules $config['port_descr_parser'] = 'includes/port-descr-parser.inc.php'; // Parse port descriptions into fields $config['enable_ports_etherlike'] = 0; // Enable Polling EtherLike-MIB (doubles interface processing time) $config['enable_ports_junoseatmvp'] = 0; // Enable JunOSe ATM VC Discovery/Poller $config['enable_ports_adsl'] = 1; // Enable ADSL-LINE-MIB $config['enable_ports_poe'] = 0; // Enable PoE stats collection // Billing System Configuration $config['enable_billing'] = 0; // Enable Billing $config['billing']['customer_autoadd'] = 0; // Enable Auto-add bill per customer $config['billing']['circuit_autoadd'] = 0; // Enable Auto-add bill per circuit_id $config['billing']['bill_autoadd'] = 0; // Enable Auto-add bill per bill_id $config['billing']['base'] = 1000; // Set the base to divider bytes to kB, MB, GB ,... (1000|1024) // External Integration // $config['rancid_configs'][] = '/var/lib/rancid/network/configs/'; $config['rancid_ignorecomments'] = 0; // Ignore lines starting with # // $config['collectd_dir'] = '/var/lib/collectd/rrd'; // $config['smokeping']['dir'] = "/var/lib/smokeping/"; $config['smokeping']['pings'] = 20; // $config['oxidized']['enabled'] = FALSE;//Set to TRUE // $config['oxidized']['url'] = 'http://127.0.0.1:8888';// Set the Oxidized rest URL // $config['oxidized']['reload_nodes'] = FALSE;//Set to TRUE, check documentation // NFSen RRD dir. $config['nfsen_enable'] = 0; // $config['nfsen_split_char'] = "_"; // $config['nfsen_rrds'] = "/var/nfsen/profiles-stat/live/"; // $config['nfsen_suffix'] = "_yourdomain_com"; // Location Mapping // Use this feature to map ugly locations to pretty locations // config['location_map']['Under the Sink'] = "Under The Sink, The Office, London, UK"; // Ignores & Allows // Has to be lowercase $config['bad_if'][] = 'voip-null'; $config['bad_if'][] = 'virtual-'; $config['bad_if'][] = 'unrouted'; $config['bad_if'][] = 'eobc'; $config['bad_if'][] = 'lp0'; $config['bad_if'][] = '-atm'; $config['bad_if'][] = 'faith0'; $config['bad_if'][] = 'container'; $config['bad_if'][] = 'async'; $config['bad_if'][] = 'plip'; $config['bad_if'][] = '-physical'; $config['bad_if'][] = 'container'; $config['bad_if'][] = 'unrouted'; $config['bad_if'][] = 'bluetooth'; $config['bad_if'][] = 'isatap'; $config['bad_if'][] = 'ras'; $config['bad_if'][] = 'qos'; $config['bad_if'][] = 'span rp'; $config['bad_if'][] = 'span sp'; $config['bad_if'][] = 'sslvpn'; $config['bad_if'][] = 'pppoe-'; // $config['bad_if'][] = "control plane"; // Example for cisco control plane // Ignore ports based on ifType. Case-sensitive. $config['bad_iftype'][] = 'voiceEncap'; $config['bad_iftype'][] = 'voiceFXO'; $config['bad_iftype'][] = 'voiceFXS'; $config['bad_iftype'][] = 'voiceOverAtm'; $config['bad_iftype'][] = 'voiceOverFrameRelay'; $config['bad_iftype'][] = 'voiceOverIp'; $config['bad_iftype'][] = 'ds0'; $config['bad_iftype'][] = 'ds1'; $config['bad_iftype'][] = 'ds3'; // $config['bad_iftype'][] = "isdn"; #show signaling traffic // $config['bad_iftype'][] = "lapd"; #show signaling traffic $config['bad_iftype'][] = 'sonet'; $config['bad_iftype'][] = 'atmSubInterface'; $config['bad_iftype'][] = 'aal5'; $config['bad_iftype'][] = 'shdsl'; $config['bad_iftype'][] = 'mpls'; $config['bad_if_regexp'][] = '/^ng[0-9]+$/'; $config['bad_if_regexp'][] = '/^sl[0-9]/'; // Rewrite Interfaces $config['rewrite_if_regexp']['/^cpu interface/'] = 'Mgmt'; $config['ignore_mount_removable'] = 1; // Ignore removable disk storage $config['ignore_mount_network'] = 1; // Ignore network mounted storage $config['ignore_mount_optical'] = 1; // Ignore mounted optical discs // Per-device interface graph filters $config['device_traffic_iftype'][] = '/loopback/'; $config['device_traffic_iftype'][] = '/tunnel/'; $config['device_traffic_iftype'][] = '/virtual/'; $config['device_traffic_iftype'][] = '/mpls/'; $config['device_traffic_iftype'][] = '/ieee8023adLag/'; $config['device_traffic_iftype'][] = '/l2vlan/'; $config['device_traffic_iftype'][] = '/ppp/'; $config['device_traffic_descr'][] = '/loopback/'; $config['device_traffic_descr'][] = '/vlan/'; $config['device_traffic_descr'][] = '/tunnel/'; $config['device_traffic_descr'][] = '/bond/'; $config['device_traffic_descr'][] = '/null/'; $config['device_traffic_descr'][] = '/dummy/'; // IRC Bot configuration $config['irc_host'] = ''; $config['irc_port'] = ''; $config['irc_maxretry'] = 3; $config['irc_nick'] = $config['project_name']; $config['irc_chan'][] = '##'.$config['project_id']; $config['irc_pass'] = ''; $config['irc_external'] = ''; $config['irc_authtime'] = 3; $config['irc_debug'] = false; $config['irc_alert'] = false; $config['irc_alert_utf8'] = false; // Authentication $config['allow_unauth_graphs'] = false; // Allow graphs to be viewed by anyone $config['allow_unauth_graphs_cidr'] = array(); // Allow graphs to be viewed without authorisation from certain IP ranges $config['auth_mechanism'] = 'mysql'; // Available mechanisms: mysql (default), ldap, http-auth $config['auth_remember'] = '30'; // This is how long in days to remember users who select remember me // LDAP Authentication $config['auth_ldap_version'] = 3; // v2 or v3 $config['auth_ldap_server'] = 'ldap.example.com'; $config['auth_ldap_port'] = 389; $config['auth_ldap_prefix'] = 'uid='; $config['auth_ldap_suffix'] = ',ou=People,dc=example,dc=com'; $config['auth_ldap_group'] = 'cn=groupname,ou=groups,dc=example,dc=com'; $config['auth_ldap_attr']['uid'] = "uid"; $config['auth_ldap_groupbase'] = 'ou=group,dc=example,dc=com'; $config['auth_ldap_groups']['admin']['level'] = 10; $config['auth_ldap_groups']['pfy']['level'] = 7; $config['auth_ldap_groups']['support']['level'] = 1; $config['auth_ldap_groupmemberattr'] = 'memberUid'; $config['auth_ldap_emailattr'] = 'mail'; $config['auth_ldap_cache_ttl'] = 300; // How long in seconds should ldap* module cache user information in $_SESSION // Active Directory Authentication $config['auth_ad_user_filter'] = "(objectclass=user)"; $config['auth_ad_group_filter'] = "(objectclass=group)"; // Sensors $config['allow_entity_sensor']['amperes'] = 1; $config['allow_entity_sensor']['celsius'] = 1; $config['allow_entity_sensor']['dBm'] = 1; $config['allow_entity_sensor']['voltsDC'] = 1; $config['allow_entity_sensor']['voltsAC'] = 1; $config['allow_entity_sensor']['watts'] = 1; $config['allow_entity_sensor']['truthvalue'] = 1; $config['allow_entity_sensor']['specialEnum'] = 1; // Filesystems $config['ignore_mount'][] = '/kern'; $config['ignore_mount'][] = '/mnt/cdrom'; $config['ignore_mount'][] = '/proc'; $config['ignore_mount'][] = '/dev'; $config['ignore_mount'][] = '/compat/linux/proc'; $config['ignore_mount'][] = '/compat/linux/sys'; $config['ignore_mount_string'][] = 'packages'; $config['ignore_mount_string'][] = 'devfs'; $config['ignore_mount_string'][] = 'procfs'; $config['ignore_mount_string'][] = 'linprocfs'; $config['ignore_mount_string'][] = 'linsysfs'; $config['ignore_mount_string'][] = 'UMA'; $config['ignore_mount_string'][] = 'MALLOC'; $config['ignore_mount_regexp'][] = '/on: \/packages/'; $config['ignore_mount_regexp'][] = '/on: \/dev/'; $config['ignore_mount_regexp'][] = '/on: \/proc/'; $config['ignore_mount_regexp'][] = '/on: \/junos^/'; $config['ignore_mount_regexp'][] = '/on: \/junos\/dev/'; $config['ignore_mount_regexp'][] = '/on: \/jail\/dev/'; $config['ignore_mount_regexp'][] = '/^(dev|proc)fs/'; $config['ignore_mount_regexp'][] = '/^\/dev\/md0/'; $config['ignore_mount_regexp'][] = '/^\/var\/dhcpd\/dev,/'; $config['ignore_mount_regexp'][] = '/UMA/'; $config['ignore_mount_removable'] = 1; // Ignore removable disk storage $config['ignore_mount_network'] = 1; // Ignore network mounted storage // Syslog Settings // Entries older than this will be removed $config['syslog_filter'][] = 'last message repeated'; $config['syslog_filter'][] = 'Connection from UDP: ['; $config['syslog_filter'][] = 'ipSystemStatsTable node ipSystemStatsOutFragOKs not implemented'; $config['syslog_filter'][] = 'diskio.c'; // Ignore some crappy stuff from SNMP daemon // Virtualization $config['enable_libvirt'] = 0; // Enable Libvirt VM support $config['libvirt_protocols'] = array( 'qemu+ssh', 'xen+ssh', ); // Mechanisms used, add or remove if not using this on any of your machines. // Hardcoded ASN descriptions $config['astext'][65332] = 'Cymru FullBogon Feed'; $config['astext'][65333] = 'Cymru Bogon Feed'; // Nicer labels for the SLA types $config['sla_type_labels']['echo'] = 'ICMP ping'; $config['sla_type_labels']['pathEcho'] = 'Path ICMP ping'; $config['sla_type_labels']['fileIO'] = 'File I/O'; $config['sla_type_labels']['script'] = 'Script'; $config['sla_type_labels']['udpEcho'] = 'UDP ping'; $config['sla_type_labels']['tcpConnect'] = 'TCP connect'; $config['sla_type_labels']['http'] = 'HTTP'; $config['sla_type_labels']['dns'] = 'DNS'; $config['sla_type_labels']['jitter'] = 'Jitter'; $config['sla_type_labels']['dlsw'] = 'DLSW'; $config['sla_type_labels']['dhcp'] = 'DHCP'; $config['sla_type_labels']['ftp'] = 'FTP'; $config['sla_type_labels']['voip'] = 'VoIP'; $config['sla_type_labels']['rtp'] = 'RTP'; $config['sla_type_labels']['lspGroup'] = 'LSP group'; $config['sla_type_labels']['icmpjitter'] = 'ICMP jitter'; $config['sla_type_labels']['lspPing'] = 'LSP ping'; $config['sla_type_labels']['lspTrace'] = 'LSP trace'; $config['sla_type_labels']['ethernetPing'] = 'Ethernet ping'; $config['sla_type_labels']['ethernetJitter'] = 'Ethernet jitter'; $config['sla_type_labels']['lspPingPseudowire'] = 'LSP Pseudowire ping'; // Warnings on front page $config['warn']['ifdown'] = true; // Show down interfaces // List of poller modules. Need to be in the array to be // considered for execution. $config['poller_modules']['unix-agent'] = 0; $config['poller_modules']['os'] = 1; $config['poller_modules']['ipmi'] = 1; $config['poller_modules']['sensors'] = 1; $config['poller_modules']['processors'] = 1; $config['poller_modules']['mempools'] = 1; $config['poller_modules']['storage'] = 1; $config['poller_modules']['netstats'] = 1; $config['poller_modules']['hr-mib'] = 1; $config['poller_modules']['ucd-mib'] = 1; $config['poller_modules']['ipSystemStats'] = 1; $config['poller_modules']['ports'] = 1; $config['poller_modules']['bgp-peers'] = 1; $config['poller_modules']['junose-atm-vp'] = 0; $config['poller_modules']['toner'] = 0; $config['poller_modules']['ucd-diskio'] = 1; $config['poller_modules']['wifi'] = 0; $config['poller_modules']['wireless'] = 1; $config['poller_modules']['ospf'] = 1; $config['poller_modules']['cisco-ipsec-flow-monitor'] = 0; $config['poller_modules']['cisco-remote-access-monitor'] = 0; $config['poller_modules']['cisco-cef'] = 0; $config['poller_modules']['cisco-sla'] = 0; $config['poller_modules']['cisco-mac-accounting'] = 0; $config['poller_modules']['cipsec-tunnels'] = 0; $config['poller_modules']['cisco-ace-loadbalancer'] = 0; $config['poller_modules']['cisco-ace-serverfarms'] = 0; $config['poller_modules']['cisco-asa-firewall'] = 0; $config['poller_modules']['cisco-voice'] = 0; $config['poller_modules']['cisco-cbqos'] = 0; $config['poller_modules']['cisco-otv'] = 0; $config['poller_modules']['cisco-vpdn'] = 0; $config['poller_modules']['netscaler-vsvr'] = 0; $config['poller_modules']['aruba-controller'] = 0; $config['poller_modules']['entity-physical'] = 1; $config['poller_modules']['applications'] = 1; $config['poller_modules']['mib'] = 0; $config['poller_modules']['stp'] = 1; $config['poller_modules']['ntp'] = 1; $config['poller_modules']['services'] = 1; $config['poller_modules']['loadbalancers'] = 0; $config['poller_modules']['mef'] = 0; $config['poller_modules']['tnms-nbi'] = 0; // List of discovery modules. Need to be in this array to be // considered for execution. $config['discovery_modules']['os'] = 1; $config['discovery_modules']['ports'] = 1; $config['discovery_modules']['ports-stack'] = 1; $config['discovery_modules']['entity-physical'] = 1; $config['discovery_modules']['processors'] = 1; $config['discovery_modules']['mempools'] = 1; $config['discovery_modules']['cisco-vrf-lite'] = 1; $config['discovery_modules']['cisco-mac-accounting'] = 0; $config['discovery_modules']['cisco-pw'] = 0; $config['discovery_modules']['cisco-vrf'] = 0; $config['discovery_modules']['cisco-cef'] = 0; $config['discovery_modules']['cisco-sla'] = 0; $config['discovery_modules']['cisco-cbqos'] = 0; $config['discovery_modules']['cisco-otv'] = 0; $config['discovery_modules']['ipv4-addresses'] = 1; $config['discovery_modules']['ipv6-addresses'] = 1; $config['discovery_modules']['route'] = 0; $config['discovery_modules']['sensors'] = 1; $config['discovery_modules']['storage'] = 1; $config['discovery_modules']['hr-device'] = 1; $config['discovery_modules']['discovery-protocols'] = 1; $config['discovery_modules']['arp-table'] = 1; $config['discovery_modules']['discovery-arp'] = 0; $config['discovery_modules']['junose-atm-vp'] = 0; $config['discovery_modules']['bgp-peers'] = 1; $config['discovery_modules']['vlans'] = 1; $config['discovery_modules']['vmware-vminfo'] = 0; $config['discovery_modules']['libvirt-vminfo'] = 0; $config['discovery_modules']['toner'] = 0; $config['discovery_modules']['ucd-diskio'] = 1; $config['discovery_modules']['applications'] = 0; $config['discovery_modules']['services'] = 1; $config['discovery_modules']['stp'] = 1; $config['discovery_modules']['ntp'] = 1; $config['discovery_modules']['loadbalancers'] = 0; $config['discovery_modules']['mef'] = 0; $config['discovery_modules']['wireless'] = 1; // Enable daily updates $config['update'] = 1; // Purge syslog and eventlog $config['syslog_purge'] = 30; // Number in days of how long to keep syslog entries for. $config['eventlog_purge'] = 30; // Number in days of how long to keep eventlog entries for. $config['authlog_purge'] = 30; // Number in days of how long to keep authlog entries for. $config['perf_times_purge'] = 30; // Number in days of how long to keep performace polling stats entries for. $config['device_perf_purge'] = 7; // Number in days of how long to keep device performance data for. $config['alert_log_purge'] = 365; // Number in days of how long to keep alert log data for. // Date format for PHP date()s $config['dateformat']['long'] = 'r'; // RFC2822 style $config['dateformat']['compact'] = 'Y-m-d H:i:s'; $config['dateformat']['byminute'] = 'Y-m-d H:i'; $config['dateformat']['time'] = 'H:i:s'; // Date format for MySQL DATE_FORMAT $config['dateformat']['mysql']['compact'] = '%Y-%m-%d %H:%i:%s'; $config['dateformat']['mysql']['date'] = '%Y-%m-%d'; $config['dateformat']['mysql']['time'] = '%H:%i:%s'; $config['enable_clear_discovery'] = 1; // Set this to 0 if you want to disable the web option to rediscover devices $config['force_ip_to_sysname'] = false;// Set to true if you want to use sysName in place of IPs // Allow duplicate devices by sysName $config['allow_duplicate_sysName'] = false;// Set to true if you want to allow duplicate sysName's $config['enable_port_relationship'] = true; // Set this to false to not display neighbour relationships for ports $config['enable_footer'] = 1; // Set this to 0 if you want to disable the footer copyright in the web interface $config['api_demo'] = 0; // Set this to 1 if you want to disable some untrusting features for the API // Distributed Poller-Settings $config['distributed_poller'] = false; $config['distributed_poller_name'] = file_get_contents('/proc/sys/kernel/hostname'); $config['distributed_poller_group'] = 0; $config['distributed_poller_memcached_host'] = 'example.net'; $config['distributed_poller_memcached_port'] = '11211'; // Stats callback system $config['callback_post'] = 'https://stats.librenms.org/log.php'; $config['callback_clear'] = 'https://stats.librenms.org/clear.php'; // Stat graphs $config['alert_graph_date_format'] = '%Y-%m-%d %H:%i'; // IPMI type $config['ipmi']['type'][] = 'lanplus'; $config['ipmi']['type'][] = 'lan'; $config['ipmi']['type'][] = 'imb'; $config['ipmi']['type'][] = 'open'; // Options needed for dyn config - do NOT edit $dyn_config['email_backend'] = array( 'mail', 'sendmail', 'smtp', ); $dyn_config['email_smtp_secure'] = array( '', 'tls', 'ssl', ); // Unix-agent poller module config settings $config['unix-agent-connection-time-out'] = 10; // seconds $config['unix-agent-read-time-out'] = 10; // seconds // Lat / Lon support for maps $config['geoloc']['latlng'] = true; // True to enable translation of location to latlng co-ordinates $config['geoloc']['engine'] = 'google'; $config['map']['engine'] = 'leaflet'; $config['mapael']['default_map'] = 'maps/world_countries.js'; $config['leaflet']['default_lat'] = '51.4800'; $config['leaflet']['default_lng'] = '0'; $config['leaflet']['default_zoom'] = 2; $config['leaflet']['tile_url'] = "{s}.tile.openstreetmap.org"; // General GUI options $config['gui']['network-map']['style'] = 'new';//old is also valid // Navbar variables $config['navbar']['manage_groups']['hide'] = 0; // Show errored ports in the summary table on the dashboard $config['summary_errors'] = 0; // Default width of the availability map's tiles $config['availability-map-width'] = 25; // Default notifications Feed $config['notifications']['LibreNMS'] = 'http://www.librenms.org/notifications.rss'; $config['notifications']['local'] = 'misc/notifications.rss'; // Update channel (Can be 'master' or 'release') $config['update_channel'] = 'master'; // Default port association mode $config['default_port_association_mode'] = 'ifIndex'; // Ignore ports which can't be mapped using a devices port_association_mode // See include/polling/ports.inc.php for a lenghty explanation. $config['ignore_unmapable_port'] = false; // InfluxDB default configuration $config['influxdb']['timeout'] = 0; $config['influxdb']['verifySSL'] = false; // Xirrus - Disable station/client polling if true as it may take a long time on larger/heavily used APs. $config['xirrus_disable_stations'] = false; // Graphite default port $config['graphite']['port'] = 2003;