Page 1 of 1

Not getting notifications from all hosts

Posted: Wed Oct 13, 2021 10:26 am
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?

Re: Not getting notifications from all hosts

Posted: Wed Oct 13, 2021 3:47 pm
by omarrrthepirate
UPDATE: We just upgraded Nagios XI to 5.8.6

Re: Not getting notifications from all hosts

Posted: Wed Oct 13, 2021 4:31 pm
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

Re: Not getting notifications from all hosts

Posted: Wed Oct 20, 2021 1:05 pm
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.

Re: Not getting notifications from all hosts

Posted: Thu Oct 21, 2021 10:54 am
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

Re: Not getting notifications from all hosts

Posted: Thu Oct 21, 2021 10:57 am
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