why can't a servicegroup have no members?

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Thu Aug 11 10:48:43 CEST 2005


Sorry, for intercepting your thread.

But Kevin mentioned an issue that also puzzled me,
as I only recently started with Nagios, and still are about
exploring its features.

I haven't quite understood yet what the difference was between
the "members" attribute in a servicegroup definition,
and poulating the "servicegroups" attribute within each service
definition.
Is the redundancy only there as "syntactical sugar",
or is there a completely different scope that separates both?

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of
Andreas
> Ericsson
> Sent: Thursday, August 11, 2005 10:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] why can't a servicegroup have no
members?
> 
> 
> Kevin Hanser wrote:
> > I am running Nagios 2.0b4, and I'm trying to create some 
> servicegroups
> > for nice display and whatnot.
> > 
> > I can get them to work fine, as long as I specify at least 
> one member in
> > the servicegroups definition... However, I'd like to create a
> > servicegroup for "router interfaces", and I don't really 
> want to type in
> > every description for every router interface I have on every
router,
> > when I've already put it into the service definition.  I 
> see that I can
> > specify servicegroups in the service definition and that
would be
> > perfect for me, except for one thing:  nagios won't let me
create a
> > servicegroup w/out any members.
> > 
> > I would like to create the servicegroup w/no members in its 
> definition,
> > and then use the "servicegroups" directive w/in the service 
> definition
> > to make each interface a member of the servicegroup.  So I
guess my
> > question is... Why is the "members" directive required when 
> defining a
> > servicegroup?
> > 
> 
> It isn't. We're running around 100 installations of Nagios. 
> All of them 
> with servicegroups without the "members" directive, and all 
> of them with 
> the servicegroups in the service definitions. What's the 
> error message 
> you get when trying to run it?
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference &
EXPO
> September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * 
> Testing & QA
> Security * Process Improvement & Measurement * 
http://www.sqe.com/bsce5sf
_______________________________________________
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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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