/// -> //

git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-25 12:24:34 +00:00
parent cacf913a55
commit b273e04241
247 changed files with 716 additions and 716 deletions
+88 -88
View File
@@ -20,12 +20,12 @@
*/
///
/// Please don't edit this file -- make changes to the configuration array in config.php
// Please don't edit this file -- make changes to the configuration array in config.php
///
error_reporting(E_ERROR);
/// Default directories
// Default directories
$config['temp_dir'] = "/tmp";
$config['install_dir'] = "/opt/observium";
@@ -33,10 +33,10 @@ $config['html_dir'] = $config['install_dir'] . "/html";
$config['rrd_dir'] = $config['install_dir'] . "/rrd";
$config['log_file'] = $config['install_dir'] . "/observium.log";
/// What is my own hostname (used so observium can identify its host in its own database)
// What is my own hostname (used so observium can identify its host in its own database)
$config['own_hostname'] = "localhost";
/// Location of executables
// Location of executables
$config['rrdtool'] = "/usr/bin/rrdtool";
$config['fping'] = "/usr/bin/fping";
@@ -57,21 +57,21 @@ $config['neato'] = "/usr/bin/neato";
$config['sfdp'] = "/usr/bin/sfdp";
$config['svn'] = "/usr/bin/svn";
/// Memcached - Keep immediate statistics
// Memcached - Keep immediate statistics
$config['memcached']['enable'] = FALSE;
$config['memcached']['host'] = "localhost";
$config['memcached']['port'] = 11211;
$config['slow_statistics'] = TRUE; /// THIS WILL CHANGE TO FALSE IN FUTURE
$config['slow_statistics'] = TRUE; // THIS WILL CHANGE TO FALSE IN FUTURE
/// RRD Format Settings
/// These should not normally be changed
/// Though one could conceivably increase or decrease the size of each RRA if one had performance problems
/// Or if one had a very fast I/O subsystem with no performance worries.
// RRD Format Settings
// These should not normally be changed
// Though one could conceivably increase or decrease the size of each RRA if one had performance problems
// Or if one had a very fast I/O subsystem with no performance worries.
$config['rrd_rra'] = " RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 ";
$config['rrd_rra'] .= " RRA:MAX:0.5:1:720 RRA:MIN:0.5:6:1440 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 ";
@@ -79,11 +79,11 @@ $config['rrd_rra'] .= " RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440 RRA:MAX:0.5:24:
$config['rrd_rra'] .= " RRA:LAST:0.5:1:1440 ";
/// RRDCacheD - Make sure it can write to your RRD dir!
// RRDCacheD - Make sure it can write to your RRD dir!
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
/// Web Interface Settings
// Web Interface Settings
if (isset($_SERVER["SERVER_NAME"]) && isset($_SERVER["SERVER_PORT"]))
{
@@ -103,7 +103,7 @@ $config['stylesheet'] = "css/styles.css";
$config['mono_font'] = "DejaVuSansMono";
$config['favicon'] = "images/observium-icon.png";
$config['header_color'] = "#1F334E";
$config['page_refresh'] = "300"; /// Refresh the page every xx seconds, 0 to disable
$config['page_refresh'] = "300"; // Refresh the page every xx seconds, 0 to disable
$config['front_page'] = "pages/front/default.php";
$config['page_title_prefix'] = "Observium :: Network Observation and Monitoring";
$config['timestamp_format'] = 'd-m-Y H:i:s';
@@ -111,7 +111,7 @@ $config['page_gen'] = 1;
$config['web_header'] = "header.inc.php"; # in html/includes
$config['login_message'] = "Unauthorised access or use shall render the user liable to criminal and/or civil prosecution.";
$config['old_graphs'] = 1; /// RRDfiles from before the great rra reform. This is default for a while.
$config['old_graphs'] = 1; // RRDfiles from before the great rra reform. This is default for a while.
$config['int_customers'] = 1; # Enable Customer Port Parsing
$config['int_transit'] = 1; # Enable Transit Types
@@ -122,9 +122,9 @@ $config['int_l2tp'] = 0; # Enable L2TP Port Types
$config['show_locations'] = 1; # Enable Locations on menu
$config['show_locations_dropdown'] = 1; # Enable Locations dropdown on menu
$config['show_services'] = 0; # Enable Services on menu
$config['ports_page_default'] = "details"; /// eg "details" or "basic"
$config['ports_page_default'] = "details"; // eg "details" or "basic"
/// SNMP Settings - Timeouts/Retries disabled as default
// SNMP Settings - Timeouts/Retries disabled as default
#$config['snmp']['timeout'] = 1; # timeout in seconds
#$config['snmp']['retries'] = 5; # how many times to retry the query
$config['snmp']['transports'] = array('udp', 'udp6', 'tcp', 'tcp6');
@@ -143,54 +143,54 @@ $config['snmp']['v3'][0]['authalgo'] = "MD5"; # MD5 | SHA
$config['snmp']['v3'][0]['cryptopass'] = ""; # Privacy (Encryption) Passphrase
$config['snmp']['v3'][0]['cryptoalgo'] = "AES"; # AES | DES
/// RRD Format Settings
/// These should not normally be changed
/// Though one could conceivably increase or decrease the size of each RRA if one had performance problems
/// Or if one had a very fast I/O subsystem with no performance worries.
// RRD Format Settings
// These should not normally be changed
// Though one could conceivably increase or decrease the size of each RRA if one had performance problems
// Or if one had a very fast I/O subsystem with no performance worries.
$config['rrd_rra'] = " RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 ";
$config['rrd_rra'] .= " RRA:MAX:0.5:1:720 RRA:MIN:0.5:6:1440 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 ";
$config['rrd_rra'] .= " RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 ";
$config['rrd_rra'] .= " RRA:LAST:0.5:1:1440 ";
/// Autodiscovery Settings
// Autodiscovery Settings
$config['autodiscovery']['xdp'] = TRUE; /// Autodiscover hosts via discovery protocols
$config['autodiscovery']['ospf'] = TRUE; /// Autodiscover hosts via OSPF
$config['autodiscovery']['bgp'] = TRUE; /// Autodiscover hosts via BGP
$config['autodiscovery']['snmpscan'] = TRUE; /// autodiscover hosts via SNMP scanning
$config['autodiscovery']['xdp'] = TRUE; // Autodiscover hosts via discovery protocols
$config['autodiscovery']['ospf'] = TRUE; // Autodiscover hosts via OSPF
$config['autodiscovery']['bgp'] = TRUE; // Autodiscover hosts via BGP
$config['autodiscovery']['snmpscan'] = TRUE; // autodiscover hosts via SNMP scanning
$config['discover_services'] = FALSE; /// Autodiscover services via SNMP on devices of type "server"
$config['discover_services'] = FALSE; // Autodiscover services via SNMP on devices of type "server"
/// Mailer backend Settings
// Mailer backend Settings
$config['email_backend'] = 'mail'; /// Mail backend. Allowed: "mail" (PHP's built-in), "sendmail", "smtp".
$config['email_from'] = NULL; /// Mail from. Default: "OBSERVIUM Network Monitor" <observium@`hostname`>
$config['email_sendmail_path'] = '/usr/sbin/sendmail'; /// The location of the sendmail program.
$config['email_smtp_host'] = 'localhost'; /// Outgoing SMTP server name.
$config['email_smtp_port'] = 25; /// The port to connect.
$config['email_smtp_timeout'] = 10; /// SMTP connection timeout in seconds.
$config['email_smtp_secure'] = NULL; /// Enable encryption. Use 'tls' or 'ssl'
$config['email_smtp_auth'] = FALSE; /// Whether or not to use SMTP authentication.
$config['email_smtp_username'] = NULL; /// SMTP username.
$config['email_smtp_password'] = NULL; /// Password for SMTP authentication.
$config['email_backend'] = 'mail'; // Mail backend. Allowed: "mail" (PHP's built-in), "sendmail", "smtp".
$config['email_from'] = NULL; // Mail from. Default: "OBSERVIUM Network Monitor" <observium@`hostname`>
$config['email_sendmail_path'] = '/usr/sbin/sendmail'; // The location of the sendmail program.
$config['email_smtp_host'] = 'localhost'; // Outgoing SMTP server name.
$config['email_smtp_port'] = 25; // The port to connect.
$config['email_smtp_timeout'] = 10; // SMTP connection timeout in seconds.
$config['email_smtp_secure'] = NULL; // Enable encryption. Use 'tls' or 'ssl'
$config['email_smtp_auth'] = FALSE; // Whether or not to use SMTP authentication.
$config['email_smtp_username'] = NULL; // SMTP username.
$config['email_smtp_password'] = NULL; // Password for SMTP authentication.
/// Alerting Settings
// Alerting Settings
$config['alerts']['email']['default'] = NULL; /// Default alert recipient
$config['alerts']['email']['default_only'] = FALSE; /// Only use default recipient
$config['alerts']['email']['enable'] = TRUE; /// Enable email alerts
$config['alerts']['bgp']['whitelist'] = NULL; /// Populate as an array() with ASNs to alert on.
$config['alerts']['port']['ifdown'] = FALSE; /// Generate alerts for ports that go down
$config['alerts']['email']['default'] = NULL; // Default alert recipient
$config['alerts']['email']['default_only'] = FALSE; // Only use default recipient
$config['alerts']['email']['enable'] = TRUE; // Enable email alerts
$config['alerts']['bgp']['whitelist'] = NULL; // Populate as an array() with ASNs to alert on.
$config['alerts']['port']['ifdown'] = FALSE; // Generate alerts for ports that go down
/// Port bandwidth threshold percentage %age utilisation above this will cause an alert
// Port bandwidth threshold percentage %age utilisation above this will cause an alert
$config['alerts']['port_util_alert'] = FALSE; /// Disabled as default
$config['alerts']['port_util_perc'] = 85; /// %age above which to alert
$config['alerts']['port_util_alert'] = FALSE; // Disabled as default
$config['alerts']['port_util_perc'] = 85; // %age above which to alert
$config['uptime_warning'] = "84600"; /// Time in seconds to display a "Device Rebooted" Alert. 0 to disable warnings.
$config['uptime_warning'] = "84600"; // Time in seconds to display a "Device Rebooted" Alert. 0 to disable warnings.
/// Cosmetics
// Cosmetics
$config['rrdgraph_def_text'] = "-c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5";
$config['rrdgraph_def_text'] .= " -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal";
@@ -207,18 +207,18 @@ $list_highlight = "#ffcccc";
$warn_colour_a = "#ffeeee";
$warn_colour_b = "#ffcccc";
#$config['graph_colours'] = array("000066","330066","990066","990066","CC0033","FF0000"); /// Purple to Red
#$config['graph_colours'] = array("006600","336600","996600","996600","CC3300","FF0000"); /// Green to Red
#$config['graph_colours'] = array("002200","004400","006600","008800","00AA00","00CC00"); /// Green
#$config['graph_colours'] = array("220000","440000","660000","880000","AA0000","CC0000"); /// Red
#$config['graph_colours'] = array("001122","002244","003366","004488","0055AA","0066CC"); /// Blue
#$config['graph_colours'] = array("002233","004466","006699","0088CC","0099FF"); /// Sky-Blue
#$config['graph_colours'] = array("110022","330066","440088","6600AA","8800FF"); /// Purple
#$config['graph_colours'] = array("002200","004400","006600","008800","00AA00","00AA00","00CC00"); /// Forest Greens
#$config['graph_colours']['greens'] = array("112200","224400","336600","448800","66AA00","88FF00"); /// Grass Greens
#$config['graph_colours'] = array("000066","330066","990066","990066","CC0033","FF0000"); // Purple to Red
#$config['graph_colours'] = array("006600","336600","996600","996600","CC3300","FF0000"); // Green to Red
#$config['graph_colours'] = array("002200","004400","006600","008800","00AA00","00CC00"); // Green
#$config['graph_colours'] = array("220000","440000","660000","880000","AA0000","CC0000"); // Red
#$config['graph_colours'] = array("001122","002244","003366","004488","0055AA","0066CC"); // Blue
#$config['graph_colours'] = array("002233","004466","006699","0088CC","0099FF"); // Sky-Blue
#$config['graph_colours'] = array("110022","330066","440088","6600AA","8800FF"); // Purple
#$config['graph_colours'] = array("002200","004400","006600","008800","00AA00","00AA00","00CC00"); // Forest Greens
#$config['graph_colours']['greens'] = array("112200","224400","336600","448800","66AA00","88FF00"); // Grass Greens
#$config['graph_colours']['greens'] = array("95FFA7","4EFF97","33FF66","336600","224400","112200");
#$config['graph_colours']['greens'] = array("B7d6A9","8fcb73","50b91d","3ab419","0a8612","034f11");
#$config['graph_colours']['blues'] = array("b5d7ff","6eb7ff","0064ff","0082ff","0019d5","0016cb","00007d"); /// Cold Blues
#$config['graph_colours']['blues'] = array("b5d7ff","6eb7ff","0064ff","0082ff","0019d5","0016cb","00007d"); // Cold Blues
$config['graph_colours']['mixed'] = array('CC0000','008C00','4096EE','73880A','D01F3C','36393D','FF0084');
$config['graph_colours']['oranges'] = array('E43C00','E74B00','EB5B00','EF6A00','F37900','F78800','FB9700','FFA700');
@@ -228,20 +228,20 @@ $config['graph_colours']['blues'] = array('A0A0E5','8080BD','606096','40406F',
$config['graph_colours']['purples'] = array('CC7CCC','AF63AF','934A93','773177','5B185B','3F003F');
$config['graph_colours']['default'] = $config['graph_colours']['blues'];
/// Device page options
// Device page options
$config['show_overview_tab'] = TRUE;
/// The device overview page options
// The device overview page options
$config['overview_show_sysDescr'] = TRUE;
/// Enable version checker & stats
// Enable version checker & stats
$config['version_check'] = 1; # Enable checking of version in discovery
# and submittal of basic stats used
# to prioritise development effort :)
/// Poller/Discovery Modules
// Poller/Discovery Modules
$config['enable_bgp'] = 1; # Enable BGP session collection and display
$config['enable_rip'] = 1; # Enable RIP session collection and display
@@ -255,7 +255,7 @@ $config['enable_vrfs'] = 1; # Enable VRFs
$config['enable_printers'] = 0; # Enable Printer support
$config['enable_sla'] = 0; # Enable Cisco SLA collection and display
/// Ports extension modules
// Ports extension modules
$config['port_descr_parser'] = "includes/port-descr-parser.inc.php"; # Parse port descriptions into fields
$config['enable_ports_Xbcmc'] = 1; # Enable ifXEntry broadcast/multicast
@@ -264,7 +264,7 @@ $config['enable_ports_junoseatmvp'] = 0; # Enable JunOSe ATM VC Discovery/Po
$config['enable_ports_adsl'] = 1; # Enable ADSL-LINE-MIB
$config['enable_ports_poe'] = 0; # Enable PoE stats collection
/// Billing System Configuration
// Billing System Configuration
$config['enable_billing'] = 0; # Enable Billing
$config['billing']['customer_autoadd'] = 0; # Enable Auto-add bill per customer
@@ -272,7 +272,7 @@ $config['billing']['circuit_autoadd'] = 0; # Enable Auto-add bill per circuit_
$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
// External Integration
#$config['rancid_configs'][] = '/var/lib/rancid/network/configs/';
$config['rancid_ignorecomments'] = 0; # Ignore lines starting with #
@@ -285,11 +285,11 @@ $config['nfsen_enable'] = 0;
#$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
// 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
// Ignores & Allows
# Has to be lowercase
$config['bad_if'][] = "voip-null";
@@ -313,9 +313,9 @@ $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
#$config['bad_if'][] = "control plane"; // Example for cisco control plane
/// Ignore ports based on ifType. Case-sensitive.
// Ignore ports based on ifType. Case-sensitive.
$config['bad_iftype'][] = "voiceEncap";
$config['bad_iftype'][] = "voiceFXO";
@@ -343,7 +343,7 @@ $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
// Per-device interface graph filters
$config['device_traffic_iftype'][] = '/loopback/';
$config['device_traffic_iftype'][] = '/tunnel/';
@@ -361,20 +361,20 @@ $config['device_traffic_descr'][] = '/bond/';
$config['device_traffic_descr'][] = '/null/';
$config['device_traffic_descr'][] = '/dummy/';
/// IRC Bot configuration
// IRC Bot configuration
$config['irc_host'] = "chat.eu.freenode.net";
$config['irc_port'] = 6667;
$config['irc_nick'] = "Observium";
$config['irc_chan'][] = "#observium";
/// Authentication
// Authentication
$config['allow_unauth_graphs'] = 0; # 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
/// LDAP Authentication
// LDAP Authentication
$config['auth_ldap_version'] = 3; # v2 or v3
$config['auth_ldap_server'] = "ldap.yourserver.com";
@@ -388,7 +388,7 @@ $config['auth_ldap_groups']['admin']['level'] = 10;
$config['auth_ldap_groups']['pfy']['level'] = 7;
$config['auth_ldap_groups']['support']['level'] = 1;
/// Sensors
// Sensors
$config['allow_entity_sensor']['amperes'] = 1;
$config['allow_entity_sensor']['celsius'] = 1;
@@ -399,7 +399,7 @@ $config['allow_entity_sensor']['watts'] = 1;
$config['allow_entity_sensor']['truthvalue'] = 1;
$config['allow_entity_sensor']['specialEnum'] = 1;
/// Filesystems
// Filesystems
$config['ignore_mount'][] = "/kern";
$config['ignore_mount'][] = "/mnt/cdrom";
@@ -426,25 +426,25 @@ $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
// Syslog Settings
$config['syslog_age'] = "1 month"; /// Entries older than this will be removed
$config['syslog_age'] = "1 month"; // 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
$config['syslog_filter'][] = "diskio.c"; // Ignore some crappy stuff from SNMP daemon
/// Virtualization
// 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
// Hardcoded ASN descriptions
$config['astext'][65332] = "Cymru FullBogon Feed";
$config['astext'][65333] = "Cymru Bogon Feed";
/// Nicer labels for the SLA types
// 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';
@@ -467,11 +467,11 @@ $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
// 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.
// List of poller modules. Need to be in the array to be
// considered for execution.
$config['poller_modules']['unix-agent'] = 0;
$config['poller_modules']['system'] = 1;
@@ -505,8 +505,8 @@ $config['poller_modules']['aruba-controller'] = 1;
$config['poller_modules']['entity-physical'] = 1;
$config['poller_modules']['applications'] = 1;
/// List of discovery modules. Need to be in this array to be
/// considered for execution.
// List of discovery modules. Need to be in this array to be
// considered for execution.
$config['discovery_modules']['ports'] = 1;
$config['discovery_modules']['ports-stack'] = 1;