Does 5.5.1 have notification issues?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
REFan
Posts: 31
Joined: Tue Aug 15, 2017 10:18 am

Does 5.5.1 have notification issues?

Post 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?
REFan
Posts: 31
Joined: Tue Aug 15, 2017 10:18 am

Re: Does 5.5.1 have notification issues?

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Does 5.5.1 have notification issues?

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
REFan
Posts: 31
Joined: Tue Aug 15, 2017 10:18 am

Re: Does 5.5.1 have notification issues?

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Does 5.5.1 have notification issues?

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
REFan
Posts: 31
Joined: Tue Aug 15, 2017 10:18 am

Re: Does 5.5.1 have notification issues?

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Does 5.5.1 have notification issues?

Post 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)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked