Page 1 of 1
Not receiving notification emails
Posted: Thu Jun 05, 2014 2:08 am
by tariqondego
I am not receiving notification emails,even though I have set this up for hosts.The nagios.logs show notification being sent but I am not getting the mails.
Please advise.
Re: Not receiving notification emails
Posted: Thu Jun 05, 2014 6:17 am
by Stuart Watts
What does /var/log/maillog show at the time Nagios tries to send notifications?
Re: Not receiving notification emails
Posted: Thu Jun 05, 2014 2:40 pm
by sreinhardt
Thanks stuart, that is a great question, as core generally will use the local mailer, that should push email sent to the maillog as well.
Re: Not receiving notification emails
Posted: Mon Jun 16, 2014 3:22 am
by tariqondego
This is what mailog says:
nagios exim4: ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken.
Please advise.
Re: Not receiving notification emails
Posted: Mon Jun 16, 2014 2:00 pm
by slansing
Is that all it says? Just one line in your current maillog? If so, do you have anything in the archived maillogs in the same directory?
Re: Not receiving notification emails
Posted: Wed Jun 18, 2014 1:39 am
by tariqondego
Yes this is all it says,same for the archived logs.
Please see attached and advise.
Re: Not receiving notification emails
Posted: Wed Jun 18, 2014 11:45 am
by tmcdonald
I'm assuming this is on a Debian/Ubuntu system? If so, I'd take a look at these two posts:
http://blog.rebelit.net/67
http://linuxindetails.wordpress.com/201 ... ly-broken/
Re: Not receiving notification emails
Posted: Mon Jul 14, 2014 5:36 am
by tariqondego
Thanks @tmcdonald for those helpfull posts.The mail.log is clear now.
But still,when I do a testmail its still unsuccesful,and the maillog remains empty.
See testmail below:
please advise.
Re: Not receiving notification emails
Posted: Mon Jul 14, 2014 11:50 am
by tmcdonald
There's your problem. You must configure the system to allow sending to remote addresses:
http://superuser.com/questions/384499/h ... il-command
Re: Not receiving notification emails
Posted: Fri Aug 29, 2014 1:45 am
by tariqondego
Reconfigured exim4,its now ok.