Page 1 of 1

Does 5.5.1 have notification issues?

Posted: Thu Aug 02, 2018 12:49 pm
by REFan
I am receiving emails for several services and hosts that have been configured but today I tried to enable notifications on a few services and hosts but I am not getting any emails when I stop the Nagios service on the server. All of the settings seem correct for notification settings and I am getting emails for other items. Is there a known issue or maybe something I am missing?

Re: Does 5.5.1 have notification issues?

Posted: Fri Aug 03, 2018 1:23 pm
by REFan
Little more details. Some of the hosts and services I enabled notifications for were sending emails but some still did not. When I look in the CCM for a service that has an alert right now I see that notifications are enabled but if I go to edit the service in the Configure service area then the When a problem is detected is set to dont send any notifications. To turn this on for several servers I used the bulk mod tool to set the Notifications enabled to on.

Re: Does 5.5.1 have notification issues?

Posted: Fri Aug 03, 2018 4:05 pm
by npolovenko
Hello, @REFan. Thanks for this info. I checked a few XI 5.5 machines in the lab and haven't seen this issue. What version of the XI did you have prior to the upgrade? Were all notifications working prior to the upgrade? What is the operating system?

Re: Does 5.5.1 have notification issues?

Posted: Mon Aug 06, 2018 7:43 am
by REFan
Hello. I believe we were running 5.5.0 but I am not sure. Any notifications that were set up previously are still working I believe. The OS is CentOS 7.
Using the bulk modification tool I should be able to enable notifications with the Notifications enabled option right? If I make this change and then look at the service under Configure service it still shows dont send any notifications but in the CCM it shows notifications are enabled.

Re: Does 5.5.1 have notification issues?

Posted: Tue Aug 07, 2018 10:11 am
by lmiltchev
Using the bulk modification tool I should be able to enable notifications with the Notifications enabled option right?
Correct. In the host definition, you may have:

Code: Select all

notifications_enabled       1
however, if you have "n" (none) as an option in the "notification_options" directive, no host notifications will be sent out. Example:

Code: Select all

notification_options        n
You can go to the CCM, find your "problem" host, and click on the "View Config" button to see how these options are configured. You can also change the "notification_options" directive via the Bulk Mod tool.

Troubleshooting notifications can be quite involved. I would recommend that you first look through the State History report to determine if the host went to a "hard" down state during the relevant time period. Check the host config to make sure that a contact/contactgroup is assigned to this host, and that the contact can indeed receive notifications. Next, check the Notifications report to see if nagios "thinks" that notification was sent about the problem. You can also examine the mail logs - /var/log/maillog or /usr/local/nagiosxi/tmp/phpmailer.log, depending on whether you use sendmail or SMTP.

The following KB article may help you troubleshoot the issue:
https://support.nagios.com/kb/article/n ... ms-36.html

Re: Does 5.5.1 have notification issues?

Posted: Tue Aug 07, 2018 10:44 am
by REFan
Thank you. For whatever reason the CCM settings look correct but the configure service is where I needed to change to enabled. As soon as I did that the emails started but not sure what other services may not be set correctly.

Re: Does 5.5.1 have notification issues?

Posted: Tue Aug 07, 2018 10:52 am
by lmiltchev
Can you show us an example of a host config and a screenshot of the "Host Status Detail" page (Configure > Re-configure this host)?