Exclude from hostgroup_name in service def

Tedman Eng teng at dataway.com
Fri Oct 1 00:18:18 CEST 2004


What you describe is not currently available in 1.x Nagios, but I recall
someone mentioned earlier that it will be (is) avaiable in 2.0a Nagios

-----Original Message-----
From: Phil Dibowitz [mailto:phil at usc.edu]
Sent: Thursday, September 30, 2004 3:20 PM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Exclude from hostgroup_name in service def


Hey folks,

I often define my services for hostgroups instead of hosts.

Is there a way to exclude a host or hostgroup though? For example, instead
of:

define service{
	...
	hostgroup_name	unix
	...
	}

Do:

define service{
	...
	hostgroup_name	unix,-exceptionhosts
	...
}

I looked through the docs but didn't see any such syntax.


-- 
Phil Dibowitz
Systems Architect and Administrator
Enterprise Infrastructure / ISD / USC
UCC 174 - 213-821-5427



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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