2007-04-03 14:10:23 +00:00
|
|
|
<?php
|
|
|
|
|
2010-06-25 17:30:18 +00:00
|
|
|
## Have a look in defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!
|
2010-02-08 18:56:26 +00:00
|
|
|
|
2007-04-03 14:10:23 +00:00
|
|
|
### Database config
|
2007-11-30 14:48:14 +00:00
|
|
|
$config['db_host'] = "localhost";
|
2009-10-28 13:56:42 +00:00
|
|
|
$config['db_user'] = "USERNAME";
|
|
|
|
$config['db_pass'] = "PASSWORD";
|
2010-07-17 12:58:09 +00:00
|
|
|
$config['db_name'] = "observium";
|
2007-11-30 14:48:14 +00:00
|
|
|
|
2009-10-28 13:56:42 +00:00
|
|
|
### Locations
|
2010-07-17 12:58:09 +00:00
|
|
|
$config['install_dir'] = "/opt/observium";
|
2009-03-24 11:16:50 +00:00
|
|
|
$config['html_dir'] = $config['install_dir'] . "/html";
|
2010-07-17 20:30:05 +00:00
|
|
|
$config['rrd_dir'] = $config['install_dir'] . "/rrd";
|
2010-07-20 13:02:54 +00:00
|
|
|
$config['log_file'] = $config['install_dir'] . "/observium.log";
|
2008-03-12 09:22:11 +00:00
|
|
|
|
2010-07-19 18:21:48 +00:00
|
|
|
###
|
|
|
|
$config['base_url'] = "http://obeservium.company.com";
|
|
|
|
|
2010-07-04 21:09:22 +00:00
|
|
|
### Enable the below to use rrdcached. be sure rrd_dir is within the rrdcached dir
|
|
|
|
### and that your web server has permission to talk to rrdcached.
|
|
|
|
#$config['rrdcached'] = "unix:/var/run/rrdcached.sock";
|
|
|
|
|
2007-04-03 14:10:23 +00:00
|
|
|
### Default community
|
2010-07-17 20:30:05 +00:00
|
|
|
$config['snmp']['community'][] = "public";
|
2007-04-03 14:10:23 +00:00
|
|
|
|
2010-07-17 20:30:05 +00:00
|
|
|
### Authentication Model
|
2010-02-28 02:20:05 +00:00
|
|
|
$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
|
|
|
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
2009-12-31 19:06:05 +00:00
|
|
|
|
|
|
|
# LDAP module configuration
|
2010-07-17 20:30:05 +00:00
|
|
|
#$config['auth_ldap_server'] = "ldap.yourserver.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=observium,ou=groups,dc=example,dc=com";
|
2010-03-27 22:20:57 +00:00
|
|
|
|
2009-10-28 13:56:42 +00:00
|
|
|
### List of networks to allow scanning-based discovery
|
2010-07-17 20:30:05 +00:00
|
|
|
$config['nets'][] = "172.22.0.0/16";
|
|
|
|
$config['nets'][] = "192.168.0.0/24";
|
2009-10-28 13:56:42 +00:00
|
|
|
|
2008-11-13 11:05:30 +00:00
|
|
|
include("includes/static-config.php");
|
2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
?>
|