For use old style notifications you should also add:
$config['alerts']['email']['enable'] = TRUE; // Enable email alerts
and for use sendmail as backend: $config['email_backend'] = 'sendmail'; // (Because by default used PHP's built-in mail function)
On Tue, Dec 17, 2013 at 4:05 AM, sysadmin@boyah.net sysadmin@boyah.netwrote:
Hello,
I'm having an issue getting Observium to send email alerts.
- SysContact is set on the client device.
- Sending test mail from monitoring server via sendmail on command line
works fine. 3. Observium config.php has following configuration:
$config['alerts']['email']['enable'] = TRUE; $config['alerts']['port']['ifdown'] = TRUE; $config['alerts']['email']['default'] = "notif…@xx.net";
$config['email_backend'] = 'mail'; $config['email_from'] = "MTR mtr...@xx.net"; $config['email_sendmail_path'] = '/usr/sbin/sendmail';
$config['alerts']['interval'] = 900;
Setup a demo device, ensured it was polling and reporting correctly, then force-shutdown the demo. No mail sent by Observium. In mail.log, nothing reported (except for the successful test message I sent via command line).
Maybe I'm misunderstanding. Will Observium send an email alert when a monitored device goes down, when configured this way? How can I achieve this?
Many thanks in advance to anyone who can offer advice. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium