Email delay in delivery from Nagios Server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email delay in delivery from Nagios Server

Post by hsmith »

Load looks fine. Do all of your services have a delay, or just this one?
Former Nagios Employee.
me.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Email delay in delivery from Nagios Server

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Email delay in delivery from Nagios Server

Post 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.
Former Nagios employee
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

Re: Email delay in delivery from Nagios Server

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Email delay in delivery from Nagios Server

Post 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
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Email delay in delivery from Nagios Server

Post by cusvenus »

All emails are flowing slower than the response we see in the GUI. We use SMTP not Sendmail.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email delay in delivery from Nagios Server

Post by hsmith »

Do you have access to the SMTP mail logs?
Former Nagios Employee.
me.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Email delay in delivery from Nagios Server

Post by cusvenus »

Yes I can request for it and get the log.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Email delay in delivery from Nagios Server

Post 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.
Former Nagios Employee.
me.
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Email delay in delivery from Nagios Server

Post by cusvenus »

I will PM you the message
Locked