why can't a servicegroup have no members?

Kevin Hanser kevin at mica.net
Wed Aug 10 23:14:32 CEST 2005


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?

Thx!

k


-------------------------------------------------------
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