daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cd /opt/observium && ./discovery.php -h all && ./poller.php -h all
  2.    
  3. <?php
  4.  
  5. ## Check http://www.observium.org/docs/config_options/ for documentation of possible settings
  6.  
  7. // Database config ---  This MUST be configured
  8. $config['db_extension'] = 'mysqli';
  9. $config['db_host']      = '192.168.1.10';
  10. $config['db_user']      = 'observium';
  11. $config['db_pass']      = 'somepass';
  12. $config['db_name']      = 'observium';
  13.  
  14. // Base directory
  15. #$config['install_dir'] = "/opt/observium";
  16.  
  17. // Default community list to use when adding/discovering
  18. $config['snmp']['community'] = array("public");
  19.  
  20. // Authentication Model
  21. $config['auth_mechanism'] = "mysql";    // default, other options: ldap, http-auth, please see documentation for config help
  22.  
  23. // Enable alerter
  24. // $config['poller-wrapper']['alerter'] = TRUE;
  25.  
  26. //$config['web_show_disabled'] = FALSE;    // Show or not disabled devices on major pages.
  27.  
  28. // Set up a default alerter (email to a single address)
  29. $config['email']['default']        = "admin@mydomain.com";
  30. $config['email']['from']           = "Observium <observium@mydomain.com>";
  31. $config['email']['default_only']   = TRUE;
  32.  
  33. $config['enable_syslog']                = 1; // Enable Syslog
  34.  
  35. // End config.php
RAW Paste Data
Top