Page 1 of 1
Disabling Host checks on a host group
Posted: Thu May 28, 2015 8:51 am
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?
Re: Disabling Host checks on a host group
Posted: Thu May 28, 2015 9:01 am
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?
Re: Disabling Host checks on a host group
Posted: Thu May 28, 2015 9:13 am
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
Re: Disabling Host checks on a host group
Posted: Thu May 28, 2015 10:31 am
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?
Re: Disabling Host checks on a host group
Posted: Thu May 28, 2015 1:38 pm
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.
Re: Disabling Host checks on a host group
Posted: Thu May 28, 2015 1:55 pm
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.