Background info on disabling check on the interface
Posted: Thu Apr 24, 2014 9:22 am
Hello everyone,
I have a question about what happens in the background when I use the "Disable checks of all services on this host" link on the Nagios Core web interface for a specific host.
How does Nagios know to keep it disabled? Is there a config file where the change is made, like a flag changed? Or does the host that was changed sit in a variable?
I'm hoping it's as simple as a flag being set. The reason I ask is I'm looking for a way for my bash script to differentiate between a disabled host vs an enabled host (Which I cannot use the web interface to determine).
Any help would be appreciated. Thanks!
I have a question about what happens in the background when I use the "Disable checks of all services on this host" link on the Nagios Core web interface for a specific host.
How does Nagios know to keep it disabled? Is there a config file where the change is made, like a flag changed? Or does the host that was changed sit in a variable?
I'm hoping it's as simple as a flag being set. The reason I ask is I'm looking for a way for my bash script to differentiate between a disabled host vs an enabled host (Which I cannot use the web interface to determine).
Any help would be appreciated. Thanks!