Can you not check a certain hostgroup?

Jim Avery jim at jimavery.me.uk
Thu Apr 16 11:29:47 CEST 2009


2009/4/16 Andrew Bruce <abruce at hope-st.ath.cx>:
> Is it possible, in a service definition to tell the service to not check a
> group of hosts?
>
>
>
> For example, I have a hostgroup that contains some basic checks for every
> Windows server.
>
>
>
> But some of the servers are still on NT, so don't support a particular
> check, and I want to disable it for just these servers.  Can I have a
> hostgroup called WinNT_old with the servers I don't want to run this
> particular check against and then do a service check with the hostgroup like
> (or similar):
>
>
>
> hostgroup_name   Win_All, !WinNT_old

You can indeed do that.  I do something similar myself to check all
Wintel servers, but not those in a group called 'BRONZE'.

Cheers,

Jim

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list