Observium CE email notifications not working?
Hello everyone,
I am a newbie to observium. I am using Observium CE 0.16.10.8128 (6th October 2016) . I have configured config.php as follows:
$config['poller-wrapper']['alerter'] = TRUE; $config['email']['enable'] = TRUE; $config['email']['from'] = "noreply@xyz.com"; $config['email']['default'] = "uname@xyz.com"; $config['email']['default_only'] =TRUE; $config['email']['backend'] = "mail"; $config['email']['sendmail_path'] = "/usr/sbin/sendmail"; $config['email']['smtp_host'] = "smtp.xyz.com"; $config['email']['smtp_port'] = 587; $config['email']['smtp_timeout'] = 10; $config['email']['smtp_secure'] = "tls"; $config['email']['smtp_auth'] = TRUE; $config['email']['smtp_username'] = 'my uname'; $config['email']['smtp_password'] = 'my passwd';
I have added an alert check "device_status equals 0" for one of my server which i am monitoring using observium . The alert checker works fine as it can be seen from web based GUI but i am not receiving email notification on alert state change. Why so? Someone please guide me here is email notification not avaliable in this CE version or am i doing some where wrong?
Thanks
Regards, Vikas Kumar Masters Student CSE, IIT Bombay
You have your backend set to "mail", but you're trying to use send mail *and* SMTP.
Why did you copy every mail-related config option? Delete them all and add only the ones you need.
Note that I discourage the use of SMTP because people seem incapable of making it work.
Adam.
Sent from BlueMail
On 8 Aug 2017, 22:53, at 22:53, Vikas Kumar mailvikasnow@gmail.com wrote:
Hello everyone,
I am a newbie to observium. I am using Observium CE 0.16.10.8128 (6th October 2016) . I have configured config.php as follows:
$config['poller-wrapper']['alerter'] = TRUE; $config['email']['enable'] = TRUE; $config['email']['from'] = "noreply@xyz.com"; $config['email']['default'] = "uname@xyz.com"; $config['email']['default_only'] =TRUE; $config['email']['backend'] = "mail"; $config['email']['sendmail_path'] = "/usr/sbin/sendmail"; $config['email']['smtp_host'] = "smtp.xyz.com"; $config['email']['smtp_port'] = 587; $config['email']['smtp_timeout'] = 10; $config['email']['smtp_secure'] = "tls"; $config['email']['smtp_auth'] = TRUE; $config['email']['smtp_username'] = 'my uname'; $config['email']['smtp_password'] = 'my passwd';
I have added an alert check "device_status equals 0" for one of my server which i am monitoring using observium . The alert checker works fine as it can be seen from web based GUI but i am not receiving email notification on alert state change. Why so? Someone please guide me here is email notification not avaliable in this CE version or am i doing some where wrong?
Thanks
Regards, Vikas Kumar Masters Student CSE, IIT Bombay
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Vikas Kumar