
Hi, I recently bought the full version of Observium to get alerts system. So I migrated from the CE version to full version, no problem.
I edited the config.php file as well: -------------------- // Enable alerter (not available in CE) $config['poller-wrapper']['alerter'] = TRUE; // Set up a default alerter (email to a single address) $config['alerts']['alerter']['default']['descr'] = "Default Email Alert"; $config['alerts']['alerter']['default']['type'] = "email"; $config['alerts']['alerter']['default']['contact'] = "xxx@xxx.com"; $config['alerts']['alerter']['default']['enable'] = TRUE; // Configuration email (APE 2015-03-12) $config['email']['backend']= 'smtp'; $config['email']['enable'] = TRUE; $config['email']['from'] = 'xxx@xxx.com'; $config['email']['default'] = 'xxx@xxx.com'; $config['email']['default_only'] = TRUE; $config['email']['smtp_host'] = '192.168.1.29'; $config['email']['smtp_port'] = 25; $config['email']['smtp_timeout']= 10; $config['email']['smtp_secure']= NULL; $config['email']['smtp_auth']= NULL; $config['email']['smtp_username'] = NULL; $config['email']['smtp_password'] = NULL; --------------------
When I check my configuration, it works, I received the email test, no problem. ------------------- root@MEDSRV15:/home/logs# /opt/observium/test_mail.php -h MEDHPV01 No log handling enabled - turning on stderr logging /etc/snmp/snmp.conf: line 6: Warning: Unknown token: rocommunity. Observium 0.15.3.6342 Test E-mail Configuration See mail backend options here: http://www.observium.org/wiki/Configuration_Options#Email_backend_settings My Hostname: MEDSRV15.xxxx.xxxxx E-mails ENABLED globally ($config['email']['enable']) E-mails use SMTP backend ($config['email']['backend']) smtp host: [192.168.1.29] smtp port: [25] smtp timeout: [10] smtp auth: [FALSE] E-mails send only to default email ($config['email']['default_only']) E-mails use these default recipient(s) ($config['email']['default']): xxxx@xxxxx.com E-mails send from ($config['email']['from']): xxxxx@xxxxxx.com E-mails send to recipients based on default recipient from config and/or device sysContact. Try send test notification for medhpv01 to these email(s): xxxxx@xxxxx.com EMAILING Notification for medhpv01 SENT. -------------------
Then I created a classic alert checker, when devices are down. -Conditions: device_status eq 0 -Device match * entity match * Alerts on the webpage works correctly, but I did not receive an alert email.
So Y U NO WORK OBSERVIUM?? :) I read the wiki but don't see my pb... Many thanks for helping.
My version information below: Observium 0.15.3.6342 OS Linux 3.2.0-4-amd64 [amd64] (Debian 7 (wheezy)) Apache 2.2.22 (Debian) PHP 5.4.35-0+deb7u2 MySQL 5.5.40-0+wheezy1 SNMP NET-SNMP 5.4.3 RRDtool 1.4.7
Regards, Aurélien
participants (1)
-
Aurélien PERRODY