-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php.default
More file actions
38 lines (28 loc) · 1.36 KB
/
Copy pathconfig.php.default
File metadata and controls
38 lines (28 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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