Page 2 of 3

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 11:27 am
by hsmith
Load looks fine. Do all of your services have a delay, or just this one?

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 1:35 pm
by cusvenus
Mostly all the emails are coming slow from Nagios Server. Could you please let me know which file / files I have to check to debug email issues?

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 1:47 pm
by tmcdonald
There isn't really one set of files we can look at, but if there was it would definitely be nice :)

This is just classic troubleshooting and can take some time, as we need to get output of commands and work based off of what they reveal.

Regarding @hsmith's last post, he's asking if all of your monitored service alerts are having this delay, or if it is just this one service. If it's just this one then there is likely a misconfiguration on this one, otherwise there might be something further down the line in the SMTP server, or possibly on the XI machine itself.

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 2:07 pm
by ChathamDaleJ
Suggest you check the configuration on the machine that mail is going to. Out of the box, sometimes sendmail has a one hour queue. The result is that email sent will take from 0 to whatever this is set to to be received. If the SMTP server is running sendmail, running sendmail -q will cause the queue to be immediately sent. If this is the case, look at your /etc/mail/sendmail.mc file and set the queue period to something shorter.

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 2:50 pm
by ssax
Also, just so that we're covering all bases you might want to post a service definition (you can click the little blue disk icon next to the service in the CCM).

Thank you

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 3:03 pm
by cusvenus
All emails are flowing slower than the response we see in the GUI. We use SMTP not Sendmail.

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 3:06 pm
by hsmith
Do you have access to the SMTP mail logs?

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 3:42 pm
by cusvenus
Yes I can request for it and get the log.

Re: Email delay in delivery from Nagios Server

Posted: Tue Dec 22, 2015 5:03 pm
by hsmith
I ask because it would be good to determine where this is happening. I would check the log on that server to see if XI is sending it on time or not.

Re: Email delay in delivery from Nagios Server

Posted: Wed Dec 23, 2015 3:59 am
by cusvenus
I will PM you the message