excluding a host - possible or not?

Tomasz Chmielewski mangoo at wpkg.org
Mon Nov 27 13:44:45 CET 2006


Frank Altpeter wrote:

(...)

> I'm not sure why it doesn't seem to work for you, but i would try to
> define it like my example, by adding all hosts into a hostgroup and
> explicitly exclude the mentioned non-http host with an additional
> host_name option.

I found out why it failed, thanks for confirming it works though :)

This one will fail:

host_name             blah, SERVER-*, !SERVER-NO-WWW


This one will work:

host_name             blah, !SERVER-NO-WWW, SERVER-*



-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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