Page 1 of 1

Notifications not being sent...

Posted: Wed Aug 07, 2019 8:11 am
by smetzler
Hello,

I have a unique problem where some of my hosts and some services will send the appropriate notifications thru email and others do not. I have reconfigured the random hosts and services to ensure the notifications are set properly but Nagios XI randomly sends out alerts. For instance, Host 1, Host 2, Host 3 are all active with notifications in Nagios XI and have Service 1, Service 2, Service 3 being monitored. Host 1 and 2 could possibly go offline but we are only notified of Host 2. The next time if Host 1 and 2 go offline, we might only get notified of Host 1. Host 3 could go offline and we receive notification but the next time no notifications. The same goes with the services.
The hosts and services are not flapping the above is just an example and could occur over a span of a few days. I did not observe this issue until the 5.6.4 update but has continued through the 5.6.5 update.
Is there anything I can check on my end?

Thank you,

Shane

Re: Notifications not being sent...

Posted: Wed Aug 07, 2019 12:25 pm
by lmiltchev
It's hard to say what is causing the issue. The information that you provided is too general. I would recommend that you follow ALL of the steps, outlined in our "Notification Problems" KB article here:

https://support.nagios.com/kb/article/n ... ms-36.html

If this doesn't help, PM me or anyone on the Nagios Support team the following:

1. You latest system profile (Admin > System Profile > Download Profile)
2. Actual names of the hosts/services that you are having a problem with
3. Screenshots of the State History report, showing the host/service going in a hard non-ok state, and Notifications report, covering the same time period.

Re: Notifications not being sent...

Posted: Wed Aug 07, 2019 2:37 pm
by smetzler
Hello,

Thank you for the reply. I have verified everything you provided in the Nagios documentation. The next time we have an issue with a specific host or service not sending the proper notification I will PM you the information you requested. I want to have an actual occurrence that I can capture screenshots/logs/data for you to review.

Shane

Re: Notifications not being sent...

Posted: Wed Aug 07, 2019 3:18 pm
by lmiltchev
Sounds good Shane. We will keep this topic open for now.

Re: Notifications not being sent...

Posted: Thu Aug 15, 2019 7:16 am
by smetzler
lmiltchev,

I will be sending over the requested information. We had a server go down yesterday that never sent any notifications. Thank you.

Re: Notifications not being sent...

Posted: Thu Aug 15, 2019 10:08 am
by lmiltchev
This does not seem like a Nagios problem. It is shown in the Notifications report that emails have been sent to all contacts, members of your contactgroup. The phpmailer.log if filled with errors like this one:
[08-15-2019 00:38:42] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=xxx;port=xx;smtpauth=true;security=xx), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
If could be a networking issue or an issue with your mail server. I would recommend that you contact the mail server's administrator in order to further troubleshoot this problem.