Disabling Host checks on a host group

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter.zanetti
Posts: 90
Joined: Wed Oct 01, 2014 8:34 am

Disabling Host checks on a host group

Post by peter.zanetti »

I have created a host group to throw our non production devices in. We then go and disable the host checks for that hostgroup.
disabled hostgroup question.PNG
The host ckecks don't run and all appears well. However, after going back and checking a day later the host checks on these devices have ran. Does disabling the host checks expire after a certain period? Is there a way to make this period last longer?
You do not have the required permissions to view the files attached to this post.
Last edited by peter.zanetti on Thu May 28, 2015 9:16 am, edited 1 time in total.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Disabling Host checks on a host group

Post by tmcdonald »

Do you have any other admins that might have re-enabled them? Do you have retain_state_information set to 0 in your /usr/local/nagios/etc/nagios.cfg?

What XI version is this?
Former Nagios employee
peter.zanetti
Posts: 90
Joined: Wed Oct 01, 2014 8:34 am

Re: Disabling Host checks on a host group

Post by peter.zanetti »

There is another admin but he would not change it. The retain state is "retain_state_information=1". Our XI version is 2.7
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disabling Host checks on a host group

Post by lmiltchev »

Did you look for clues in the audit log?

Admin->Audit Log

Can you recreate the issue? Have you rebooted the server after disabling the active checks for the services in your hostgroup?
Be sure to check out our Knowledgebase for helpful articles and solutions!
peter.zanetti
Posts: 90
Joined: Wed Oct 01, 2014 8:34 am

Re: Disabling Host checks on a host group

Post by peter.zanetti »

I can't find anything in the audit log that shows that someone changed it back.

For the time being we just set a downtime for all the devices in the hostgroup so its hard to tell if the issue has been recreated. We did not reboot the server after disabling the host checks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Disabling Host checks on a host group

Post by abrist »

Alright.
If you use a ramdisk, it could have filled (or been disabled), damaging (or losing) retention.dat and forcing it to be recreated.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked