Thanks Adam,
It appears to already be using the php backend to send emails:
E-mails ENABLED globally ($config['email']['enable']) E-mails use PHP-builtin MAIL backend ($config['email']['backend']) E-mails send only to default email ($config['email']['default_only']) E-mails use these default recipient(s) ($config['email']['default']):
Regards,
Cameron Murray
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, 27 August 2015 8:20 AM To: Observium Network Observation System Subject: Re: [Observium] Alert Emails Not sending
Remove all of the SMTP configutation and just let php send the mail using the local MTA itself.
You'll need to make sure one is installed, but its fairly straightforward with Debian/Ubuntu.
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 26 August 2015 11:18:57 pm Cameron Murray cameron@techpath.com.au wrote: Adam,
Can you recommend a working configuration?
Regards,
Cameron Murray
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, 27 August 2015 8:08 AM To: Observium Network Observation System Subject: Re: [Observium] Alert Emails Not sending
Don't use remote SMTP It never works properly.
Adam.
Sent with AquaMail for Android http://www.aqua-mail.com
On 26 August 2015 10:47:42 pm Cameron Murray <cameron@techpath.com.aumailto:cameron@techpath.com.au> wrote: Guys,
Only new to Observium and it’s a great product!
Setting up the email alerts and testing from the cli works perfectly however automated alerts configured via the interface do not send. The alerts trigger in the interface and the contact groups are configured.
Test Email from cli:
[root@obs observium]# ./test_mail.php -h bne-b1-lvl4-r1-apc2 Observium 0.15.8.6920 Test E-mail Configuration
##### Software versions #####
o OS Linux 2.6.32-504.23.4.el6.x86_64 [amd64] (CentOS 6.7) o Apache 2.2.15 o PHP 5.5.28 o Python 2.6.6 o MySQL 5.1.73 (extension: mysqli 5.1.73) o SNMP NET-SNMP 5.5 o RRDtool 1.3.8
##### Charset info #####
o PHP UTF-8 o MySQL utf8
##### Timezones info #####
o Date Wednesday, 26-Aug-15 21:43:01 UTC o PHP +10:00 o MySQL +10:00
See mail backend options here: http://www.observium.org/wiki/Configuration_Options#Email_backend_settings
My Hostname: obs.tech….. E-mails ENABLED globally ($config['email']['enable']) E-mails use PHP-builtin MAIL backend ($config['email']['backend']) E-mails send only to default email ($config['email']['default_only']) E-mails use these default recipient(s) ($config['email']['default']): alert-infrastructure@tech...... E-mails send from ($config['email']['from']): monitoring@tech...... E-mails send to recipients based on default recipient from config and/or device sysContact. Try send test notification for bne-b1-lvl4-r1-apc2 to these email(s): alert-infrastructure@tech...... EMAILINGNotification for bne-b1-lvl4-r1-apc2 SENT.
Config.php > Email Config
// Enable alerter $config['poller-wrapper']['alerter'] = TRUE;
$config['billing']['customer_autoadd'] = 0; # Enable Auto-add bill per customer $config['billing']['circuit_autoadd'] = 0; # Enable Auto-add bill per circuit_id $config['billing']['bill_autoadd'] = 0; # Enable Auto-add bill per bill_id
$config['email']['sendmail_path'] = '/usr/sbin/sendmail';
$config['alerts']['alerter']['default']['descr'] = "System Alert Change"; $config['alerts']['alerter']['default']['type'] = "email"; $config['alerts']['alerter']['default']['contact'] = "monitoring@tech......mailto:monitoring@tech......"; $config['alerts']['alerter']['default']['enable'] = TRUE;
$config['email']['default'] = "alert-infrastructure@tech...... mailto:alert-infrastructure@tech......%20 "; $config['alerts']['email']['from'] = "monitoring@tech.....mailto:monitoring@tech....."; $config['email']['default_only'] = TRUE;
$config['email']['from'] = "monitoring@tech.....mailto:monitoring@tech.....";
$config['email']['smtp_host'] = 'mx01…….; $config['email']['smtp_port'] = 587; $config['email']['smtp_timeout'] = 10; $config['email']['smtp_secure'] = tls; $config['email']['smtp_auth'] = FALSE;
Contact List configuration:
[cid:image001.png@01D0E0A2.58584CD0]
Any pointers are appreciated.
Regards
Cameron _______________________________________________ observium mailing list observium@observium.orgmailto:observium%40observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.orgmailto:observium%40observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium