Excluding hosts from hostgroups?
Joe Rhett
jrhett at isite.net
Tue Dec 9 03:04:40 CET 2003
Hm. My mind rebels against this notion because it doesn't really make
sense. Either a hostgroup has a host or it doesn't. There is no half way.
BUT, I could see being useful on a service:
service ssh {
hostgroup webservers
exclude_hosts nossh-1,nossh-2
-or-
service ping {
host *
exclude_hosts noping-1,noping-2
On Wed, Dec 03, 2003 at 10:31:43AM -0500, Alex Moundalexis wrote:
> I could set up host checks, except that it isn't as practical with the
> quantity of nodes. As well, there are other service checks that must be
> run on the entire host group. These rogue (and blatantly irritating)
> machines would be a handful of nodes among dozens that would be omitted
> from a particular check.
>
> I see it as additional granularity.
>
> I'll make it work, regardless. Was just curious if the idea had been
> proposed before.
>
> - A
>
> McKeever Chris wrote:
>
> >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis <alexm at dctd.saic.com> sent:
> >
> >
> >
> >>Is there any undocumented (or perhaps documented that I missed) feature
> >>that allows the exclusion of several hosts from a hostgroup? Somethine
> >>like this?
> >>
> >>hostgroup_name linux,sun
> >>exclude_hosts nossh-1,nossh-2,etc
> >>
> >>Suppose I run a service check on SSH, for my linux and sun hostgroups,
> >>since 99% of them run SSH. 3 servers don't run SSH, and so I get
> >>constant failures. The obvious solution would be to redefine those three
> >>hosts into their own group, but I was wondering if something like this
> >>existed, or whether it would be considered in the future.
> >>
> >>
> >>
> >
> >I am a bit confused..isnt hard though
> >could you not set up host service checks rather than group checks?
> >or like you said, just exclude those machines from the group
> >adding a machine to a group that you then want to exclude it from is a bit
> >confusing.
> >
> >
> >-------------------------------------------
> >Chris McKeever
> >If you want to reply directly to me, please use
> >cgmckeever--at--prupref---dot---com
> >http://www.prupref.com
> >
> >---- Prudential Preferred Properties www.prupref.com
> >
> >
> >
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> 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
--
Joe Rhett Chief Geek
JRhett at Isite.Net Isite Services, Inc.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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