Hi Guys,
It could also be the cron entry needs to be updated to use the poller-wrapper instead of calling the poller directly.
Check the cron section of the installation relevant to your platform (http://www.observium.org/wiki/Installation)
Cheers,
Nathan
From: observium [mailto:observium-bounces@observium.org]
On Behalf Of Tristan Rhodes
Sent: Monday, 1 September 2014 6:45 AM
To: Observium Network Observation System
Subject: Re: [Observium] Email setup in Config.php
My best guess is that you have not un-commented this field:
// Enable alerter
$config['poller-wrapper']['alerter'] = TRUE;
Do you think that is it?
Tristan
Tristan Rhodes
Network Engineer
Weber State University
801.626.8549
On Sun, Aug 31, 2014 at 2:32 PM, matthew waterman <mwaterman1982@gmail.com> wrote:
Hi,
I have been using Observium for about 1 year successfully and recently, approximately 3mth ago, I subscribed to the paid version, upgraded via SVN and copied my config.php. I do not have working email alerts
at the moment and would like to know what needs to be changed to get this working again. Below is a print of my config.php file. Please advise me as to what needs to be changed to get email working again.
Config.php:
<?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'] = "myuesrname";
$config['db_pass'] = "mypassword";
$config['db_name'] = "observium";
// 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'] = "http://observium.company.com";
// 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)
// SNMP Settings
$config['snmp']['timeout'] = 1000; # timeout in ms
$config['snmp']['retries'] = 6; # how many times to retry the query
//Ping Settings
$config['ping']['timeout'] = 2000; # timeout in ms
$config['ping']['retries'] = 10; # how many times to retry the query
//Alert Settings
$config['alerts']['email']['default'] = "myemail@domain.co.nz";
$config['alerts']['email']['from'] = "observium.dev <myeamil@domain.co.nz>";
$config['alerts']['email']['default_only'] = TRUE;
$config['alerts']['email']['enable'] = FALSE;
$config['uptime_warning'] = "14400"; ## Time to display reboot warning
//Poller and Discovery Modules
//Syslog settings
$config['enable_syslog'] = 1;
$config['syslog_filter'] = array("last message repeated", "Connection from UDP: [",
"ipSystemStatsTable node ipSystemStatsOutFragOKs not implemented",
"diskio.c: don't know how to handle"); ## Ignore some crappy stuff from SNMP daemon
//Geocoding Configuration
// End config.php
Observium |
0.14.8.5763 |
Apache |
2.2.22 (Ubuntu) |
PHP |
5.3.10-1ubuntu3.13 |
MySQL |
5.5.38-0ubuntu0.12.04.1 |
SNMP |
NET-SNMP version: 5.4.3 |
RRDtool |
1.4.7 |
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium