Keeping inactive hosts in Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Keeping inactive hosts in Nagios xi

Post 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
Last edited by TSCAdmin on Thu Feb 09, 2012 3:03 am, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Keeping inactive hosts in Nagios xi

Post 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"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: Keeping inactive hosts in Nagios xi

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Keeping inactive hosts in Nagios xi

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: Keeping inactive hosts in Nagios xi

Post 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