Wildcard Host Negation

Patrick Rutkowski rutski89 at gmail.com
Thu Jan 12 21:50:04 CET 2006


I have a service in services.cfg to ping all hosts:

define service {
        use  generic-ping
        host_name       *
}

This makes life a lot easer when I add new hosts, which is often.
However, some hosts do not respond to pings, and this is expected. Is
there a way that I can tell nagios to "ping all hosts, but not hosts
x, y, and z"


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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