Not getting notifications from all hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

Not getting notifications from all hosts

Post by omarrrthepirate »

Hello. We're running XI version 5.8.5. It's a VMWare image install.

I added pretty much all hosts using the Bulk Host Cloning and Import Wizard. When I would add a batch of hosts, I made sure I set the notification preferences. But now a random server or switch will go down and for some reason, notifications won't be configured for that particular host. What is the best way to insure that they notify us all the exact same way?
Omarrr The Pirate!
Arrrrr
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

Re: Not getting notifications from all hosts

Post by omarrrthepirate »

UPDATE: We just upgraded Nagios XI to 5.8.6
Omarrr The Pirate!
Arrrrr
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Not getting notifications from all hosts

Post by benjaminsmith »

Hi,

There are quite a few layers to notifications in Naigos XI, both at the configuration level and also user preferences. I would start by checking the settings in the Core Config Manger. For example, notification contact and notification options under Alert Settings for either the host or service.

If you need to make changes to all of the imported hosts, you can use the Bulk Mods Tool again.

Troubleshooting Guide: Nagios XI - Notification Problems

If you are not able to pinpoint the issue, please send me the system profile, and I will check the settings. Thanks, Benjamin

To send us your system profile.

Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
omarrrthepirate
Posts: 28
Joined: Fri Jul 09, 2021 1:13 pm
Location: Spokane, WA
Contact:

Re: Not getting notifications from all hosts

Post by omarrrthepirate »

I have attached a snapshot and the system profile. Is this what I want to do in the Bulk Modifications Tool? The only thing is that it only allows to turn on notifications; it doesn't have all the notification settings. Do I need a different config option? Thank you so much!!! You folks are so so helpful. ❤


Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
You do not have the required permissions to view the files attached to this post.
Omarrr The Pirate!
Arrrrr
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Not getting notifications from all hosts

Post by benjaminsmith »

Hi omarrrthepirate,

Thanks for the system profile and the kind words!

I looked over the configurations, and some hosts have 3 contacts associated (rprince,ocampos,clot) and others just one (ocampos). If you'd like all three contacts to be notified for every host and service, then use the bulk mods tool to re-set those across the system. Use the Add Contact option.

You can actually change the other options from Change a single configuration option in the bulk mods tool, select Notification Options.

I did notice the some of those contacts (ocampos and prince) do not have notications enabled for services, the n stands for none.
host_notification_options d,u,r,f
service_notification_options n
Go to Configure > CCM > Alerting >Contacts, then search for the contact and select the Alert tab to change these settings. Be sure to Apply Configuration after making any updates.
contact-notifcation-options.png
The most accurate way to test this out is to force the service in a non-okay state, like critical. You can do this by sending passive check results from the staus page of the service ( Home > Details > Status). Click on the Advanced Tab. Keep sending those until the service Hard, Non-Ok and then a notification will be sent.
passive-checks.png
If you're still having trouble, let me know the exact name of the host or service, attach a current profile, and I can look at the specific configurations.

Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Not getting notifications from all hosts

Post by benjaminsmith »

Hi,

Also, I noticed entries for crashed database tables in the database log. Please log into the CLI as root and run the following command to fix those:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked