why can't a servicegroup have no members?

Andreas Ericsson ae at op5.se
Thu Aug 11 10:06:42 CEST 2005


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





More information about the Users mailing list