<?php

## Check http://www.observium.org/docs/config_options/ for documentation of possible settings

// Database config ---  This MUST be configured
$config['db_extension'] = 'mysqli';
$config['db_host']      = 'localhost';
$config['db_user']      = 'root';
$config['db_pass']      = 'xxxxxxxxxx';
$config['db_name']      = 'observium';

// Base directory
$config['install_dir'] = "/opt/observium";

// Default community list to use when adding/discovering
$config['snmp']['community'] = array("xxxxxxxxxx");

// Authentication Model
$config['auth_mechanism'] = "mysql";    // default, other options: ldap, http-auth, please see documentation for config help

// Enable alerter
$config['poller-wrapper']['alerter'] = TRUE;

$config['email']['backend']         = 'mail';
$config['email']['smtp_host']       = '172.20.19.145';          // 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['rrdcached'] = "unix:/var/run/rrdcached.sock";
$config['cache']['enable']                 = TRUE;
$config['cache']['driver']                        = 'auto'; 

$config['bad_if_regexp'][] = '/^lo[0-9].*/';
$config['bad_if_regexp'][] = '/^lsi.*/';
$config['bad_if_regexp'][] = '/^dsc*/';
$config['bad_if_regexp'][] = '/^tap*/';
$config['bad_if_regexp'][] = '/^gre/';
$config['bad_if_regexp'][] = '/^ipip/';
$config['bad_if_regexp'][] = '/^pim*/';
$config['bad_if_regexp'][] = '/^mtun/';
$config['bad_if_regexp'][] = '/^em[0-9].*/';
$config['bad_if_regexp'][] = '/^em0/';
$config['bad_if_regexp'][] = '/^me[0-9].*/';
$config['bad_if_regexp'][] = '/^vme.*/';
$config['bad_if_regexp'][] = '/^bme[0-9].*/';
$config['bad_if_regexp'][] = '/^fxp[0-9]/';
$config['bad_if_regexp'][] = '/^cbp[0-9]/';
$config['bad_if_regexp'][] = '/^demux[0-9]/';
$config['bad_if_regexp'][] = '/^pp[0-9]/';
$config['bad_if_regexp'][] = '/^lc-*/';
$config['bad_if_regexp'][] = '/^pf*-*/';
$config['bad_if_regexp'][] = '/^local/';
$config['bad_if_regexp'][] = '/^remote/';
$config['bad_ifalias_regexp'][] = '/^unet*/';
$config['bad_ifalias_regexp'][] = '/^$/';
