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
Keeping inactive hosts in Nagios xi
-
- Posts: 155
- Joined: Wed Apr 14, 2010 3:00 pm
- Location: India
Keeping inactive hosts in Nagios xi
Last edited by TSCAdmin on Thu Feb 09, 2012 3:03 am, edited 1 time in total.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Keeping inactive hosts in Nagios xi
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"
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"
-
- Posts: 155
- Joined: Wed Apr 14, 2010 3:00 pm
- Location: India
Re: Keeping inactive hosts in Nagios xi
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?
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?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Keeping inactive hosts in Nagios xi
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.
-
- Posts: 155
- Joined: Wed Apr 14, 2010 3:00 pm
- Location: India
Re: Keeping inactive hosts in Nagios xi
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
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