39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
<?php
|
|
|
|
## Check https://docs.observium.org/config_options/ for documentation of possible settings
|
|
|
|
## It's recommended that settings are edited in the web interface at /settings/ on your observium installation.
|
|
## Authentication and Database settings must be hardcoded here because they need to work before you can reach the web-based configuration interface
|
|
|
|
// Database config
|
|
// --- This MUST be configured
|
|
$config['db_host'] = 'localhost';
|
|
$config['db_name'] = 'observium';
|
|
$config['db_user'] = 'USERNAME';
|
|
$config['db_pass'] = 'PASSWORD';
|
|
|
|
// Base directory
|
|
#$config['install_dir'] = "/opt/observium";
|
|
|
|
// Default snmp version
|
|
#$config['snmp']['version'] = "v2c";
|
|
// Snmp max repetition for faster requests
|
|
#$config['snmp']['max-rep'] = TRUE;
|
|
// Default snmp community list to use when adding/discovering
|
|
#$config['snmp']['community'] = [ "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;
|
|
|
|
// Show or not disabled devices on major pages
|
|
#$config['web_show_disabled'] = FALSE;
|
|
|
|
// Set up a default alerter (email to a single address)
|
|
#$config['email']['default'] = "user@your-domain";
|
|
#$config['email']['from'] = "Observium <observium@your-domain>";
|
|
|
|
// End config.php
|