help troubleshooting contactgroup not getting notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lukesullivan
Posts: 34
Joined: Tue Jan 24, 2017 11:12 am

help troubleshooting contactgroup not getting notifications

Post by lukesullivan »

I have a handful of hosts that have two contact groups. When notifications go out, only one of the contactgroups is getting the notification.

I have done the following:

- tested nagios sending an email to one of the users in the contact group that doesnt get the email. He received the email, so nagios should be able to email with no problems

- impersonated one of the users that doesnt get email, and validated that he can view the host in question in the web ui

- checked that his account is enabled, with notifications enabled

The users in question do not have any additional permissions, just "user", with no additional checkboxes ticked.

Is there something that I might be missing? Would you have any suggestions for additional troubleshooting that I could do?

If you need to see any config files, please let me know, I will be happy to post appropriate snippets or upload whole configs.

thanks,

-Luke
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: help troubleshooting contactgroup not getting notificati

Post by tgriep »

Let's try and stop all of the nagios processes on the server and start them up again to make sure a duplicated process is not running and causing the issue.
Run the following as root.

Code: Select all

service nagios stop
killall -9 nagios
service nagios start
If it still fails, you can look on the objects.cache file to view all of the configurations at once to see if the settings are correct.
Typically the file is located here.

Code: Select all

/usr/local/nagios/var/objects.cache
If it still fails, you can post the settings from the object.cache file so we can view them.
We would need to see the Host and Service check as well as the contact group and contacts settings.

Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
lukesullivan
Posts: 34
Joined: Tue Jan 24, 2017 11:12 am

Re: help troubleshooting contactgroup not getting notificati

Post by lukesullivan »

I've restarted nagios a couple of different times since submitting this ticket, but the problem persists.

The objects.cache file you mention has not been written to in quite some time:

[lukas@nagiosxi-60ox ~]$ ls -l /usr/local/nagios/var/objects.cache
-rw-r--r--. 1 nagios nagios 34031 Nov 18 2016 /usr/local/nagios/var/objects.cache

so I dont think that's the place where I would want to be looking. I grepped in it, but it does not have any reference to groups that are working, in addition to not having reference to the groups in this support case, which are not working.

If there is a different place for me to pull configurations from, I would be happy to find those for you.

thanks,

-Luke
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: help troubleshooting contactgroup not getting notificati

Post by tgriep »

If your system has a ramdisk setup, the objects.cache would be in this folder.
/var/nagiosramdisk/
What version of Nagios XI are you running?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked