wild cards with exceptions?

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Tue May 8 17:11:39 CEST 2007


I'm trying to streamline my nagios config using wildcards.
Unfortunately, not all services I wish to define via wildcard
follows a clean set of rules. Is it possible to define a service
with a host list of something like *,!linux1, !linux2

I suspect the answer is no and what I'd need to do is use
a combination of hostgroups and hosts eg
define service {
hostgroup  unix, ultrix, sco
service_description ....
}
define service {
host_name host1, host2, host3, host4
...
}

Anyone find a way around this?
TIA

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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