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

Re: Email delay in delivery from Nagios Server

Post by ChathamDaleJ »

I thought I had posted this earlier, but I'll try again.

I have seen this problem. Every time it is the result of the queue length in the SMTP server being set to 15 minutes to an hour. Since you say it is 5 - 15 minutes, it looks like it is set to 15 minutes on the smtp server.

If the smtp server is running Sendmail, run sendmail -q on it and see if that gets you an immediate email. If so, the bottleneck is not nagios but your smtp server.
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 »

@cusvenus

Thanks for the log. However, it doesn't help a lot without knowing when the Nagios XI server is sending out email. You should compare timestamps.

@ChathamDaleJ

Thank you for the suggestion. OP, can you please look into this point?
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 »

Guys,

Can we check this. Now the emails are delayed and issue is getting noticed. Please help - Thanks
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email delay in delivery from Nagios Server

Post by tgriep »

Can you go in to Nagios XI's notifications and screen capture the notification that you are having issue with?
Also, we need you to post the received email with the full headers displayed.
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Email delay in delivery from Nagios Server

Post by rkennedy »

Can you provide us the logs from your Nagios XI system, so that we can compare the timestamps? /usr/local/nagios/var/nagios.log - this will show when they are fired on the Nagios XI system.

We will also need to see the corresponding logs with time stamps from your SMTP server. Please post those as well.

Also, please take a look at @ChathamDaleJ's response -
I have seen this problem. Every time it is the result of the queue length in the SMTP server being set to 15 minutes to an hour. Since you say it is 5 - 15 minutes, it looks like it is set to 15 minutes on the smtp server.

If the smtp server is running Sendmail, run sendmail -q on it and see if that gets you an immediate email. If so, the bottleneck is not nagios but your smtp server.
Former Nagios Employee
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 »

In addition to trgiep's response, are you relaying through Exchange? A mail gateway? Postfix/Sendmail? Other?
cusvenus
Posts: 35
Joined: Tue Nov 18, 2014 3:35 pm

Re: Email delay in delivery from Nagios Server

Post by cusvenus »

Can I email you the log or do I have to attach here?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Email delay in delivery from Nagios Server

Post by rkennedy »

Feel free to PM it to any one of us, and post back here once you have.
Former Nagios Employee
Locked