Notifications not being sent for some hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Notifications not being sent for some hosts

Post by snapon_admin »

Kind of a weird issue here, not sure how to troubleshoot it. Sometime yesterday evening all (or at least the couple I tried so far) of our windows server hosts stopped sending email alerts. The notification report says the emails are being sent, but none of the contacts for them are receiving the emails. Our Unix hosts are still sending emails and those contacts are receiving them, as are the SNMP network hosts. For some reason it seems to only be the Windows servers. What do?
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications not being sent for some hosts

Post by BanditBBS »

Having a weird one here as well. Showing notifications being sent in the event log, but no emails being received. Trying to figure out how widespread or if just this one host.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications not being sent for some hosts

Post by BanditBBS »

Did some research, the emails that are missing are not being written at all to the maillog. The same host should have sent a ton of service messages at the same time and in the eventlog I can see them. but when I search maillog I only see evidence of one of them.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Notifications not being sent for some hosts

Post by tmcdonald »

I assume you guys are both on 5.3.0? If so, when did you upgrade? There was a brief window of time last Monday where there was a tarball with some issues with notifications, but we have since fixed these. A re-run of the upgrade on the fixed tarball might be all you need.

Let us know if that does not fix it.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications not being sent for some hosts

Post by BanditBBS »

I am on 5.3.0 and I am 99% sure he is as well(sorry for thread hijacking, but seems similar).

yes, my dev box had the mail issue, but that was ALL not selective. My prod was updated with the new tarball. Some emails just aren't being sent but the event log says they are, just no record of it in maillog, but most emails are being sent I believe. I couldn't begin to know how to investigate this just like the OP.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Notifications not being sent for some hosts

Post by avandemore »

Previous Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Notifications not being sent for some hosts

Post by BanditBBS »

We need snapon to confirm his, but as I said, but prod is the newest tarball without the bad file.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being sent for some hosts

Post by snapon_admin »

My upgrade was last thursday, which I assume was the updated tarball. Notifications hae been working ever since, they just stopped today, and only on some hosts.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Notifications not being sent for some hosts

Post by avandemore »

In XI > Admin > Manage Email Settings > Debug Log, can you check that box and upload or PM the file? If it doesn't show in mail.log then it's not making it to the MTA and obviously will never be delivered.
Previous Nagios employee
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Notifications not being sent for some hosts

Post by snapon_admin »

Server reboot seems to have cleared the issue up for me. Still have no idea what caused it, though.
Locked