Page 1 of 1
Keeping inactive hosts in Nagios XI
Posted: Tue Feb 07, 2012 9:04 am
by TSCAdmin
Hello,
We have a bunch of development hosts that we need to keep in Nagios but they do not really require monitoring at the moment, however they might be live in future.
One way is to schedule downtime for these hosts but they will still be checked. Is there a possible solution/trick to fulfill my requirement?
Thanks
Re: Keeping inactive hosts in Nagios XI
Posted: Tue Feb 07, 2012 11:16 am
by scottwilkerson
If you schedule downtime, they wont be checked during the downtime.
Another way is to do the following:
From the host detail page, click advanced tab
More Options -> "See this host in Nagios Core"
then Under "Host Commands"
you can click
"Disable active checks of this host"
"Disable checks of all services on this host"
Re: Keeping inactive hosts in Nagios XI
Posted: Wed Feb 08, 2012 3:37 am
by TSCAdmin
Thanks Scott - exactly the information I needed.
I understand that this would disable all the active checks in future but just to make sure I am not missing anything - there won't be any notifications if at the time of disabling active checks the services were in non-OK state and notification_interval is set to 60. Is my understanding correct?
Re: Keeping inactive hosts in Nagios XI
Posted: Wed Feb 08, 2012 7:54 am
by scottwilkerson
I don't believe so (especially if the downed host has been acknowledged), however to be on the safe side, on that same screen youu can disable notifications for the host and all services of the host as well.
Re: Keeping inactive hosts in Nagios XI
Posted: Thu Feb 09, 2012 3:03 am
by TSCAdmin
Hello Scott,
It seems Nagios has honored the "disable active checks" command and stopped checking the hosts ever since the command was issued. It's a good idea to disable notifications though.
Thanks