exclude a host in a hostgroup?

Young, Mike Mike.Young at atosorigin.com
Fri Sep 6 22:19:10 CEST 2002


How about using the negate symbol (!) in front of the hostname in the group
to exclude it.  Would make for easy workaround when a host is down for a
long time, and you don't want to keep getting alerted.  Just negate the host
in the host group, and restart nagios!

Mike.

-----Original Message-----
From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
Sent: Friday, September 06, 2002 2:50 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] exclude a host in a hostgroup?



I don't think so.  We just got the ability to apply the service def to a 
complete hostgroup and already you want to exclude some :)

-sg

On Fri, 6 Sep 2002, Don Badrak wrote:

> All,
> 
> Hi.  I've just recently started using Nagios.  It is really very full
> featured.  I like what I see.
> 
> I've defined a host group with 30 hosts.  I have the same service check on
> all of them, with the exception of one.  I want to exclude one service
> check (the Lotus Notes port) from only one host in the host group.
> 
> Is that possible, without explicitly listing all the hosts in the group?
> Like an "exclude_host_name" (or "exclude_hostgroup_name")?  Or any hacks
> to do it?
> 
> Thanks.
> 
> Don
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020906/a7040b50/attachment.html>


More information about the Users mailing list