<?php

## Have a look in includes/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_user'] = "observium";
$config['db_pass'] = "XXXXXXX";
$config['db_name'] = "observium";

$config['db_extension']  = 'mysqli';

$config['rancid_configs'][]              = "/var/lib/rancid/observium/configs/";
$config['rancid_ignorecomments']        = 0;

// Location
$config['install_dir']  = "/opt/observium";

// Thie 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']        = "https://observium.megaspace.de";

// Default community list to use when adding/discovering
$config['snmp']['community'] = array("public");

// 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;

// Set up a default alerter (email to a single address)
$config['alerts']['alerter']['default']['descr']   = "Default Email Alert";
$config['alerts']['alerter']['default']['type']    = "email";
$config['alerts']['alerter']['default']['contact'] = "you@yourdomain.org";
$config['alerts']['alerter']['default']['enable']  = TRUE;

$config['alerts']['port']['ifdown']        = FALSE;

$config['enable_billing']               = 1; 
$config['frontpage']['device_status']['ports']     = false;
$config['frontpage']['overall_traffic']            = true;

$config['snmp']['timeout'] = 240;
$config['snmp']['retries'] = 3;

$config['rrdcached']    = "unix:/var/run/rrdcached.sock";

$config['email']['enable']          = TRUE;
$config['email']['from']            = "XXXXXXX";
$config['email']['backend']         = 'smtp';
$config['email']['smtp_host']       = 'localhost';
$config['email']['smtp_port']       = 25;
$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['snmp']['max-rep'] = TRUE;

$config['cache']['enable']                 = TRUE;
$config['cache']['driver']                 = 'auto';

$config['api']['enable']                        = TRUE;

// End config.php
