why can't a servicegroup have no members?

Marc Powell marc at ena.com
Thu Aug 11 20:08:39 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Kevin Hanser
> Sent: Thursday, August 11, 2005 12:53 PM
> To: nagios-users at lists.sourceforge.net; Chester R. Hosey
> Subject: Re: [Nagios-users] why can't a servicegroup have no members?
> 
> Hmmm... went back and tried it, and sure enough it's working for me.
I
> think it was complaining before because I had a servicegroup with no
> members, and also didn't have any services defined with the
> "servicegroups" directive.  Looks like one or the other is required..
> 

Which makes sense.

> I was confused because I created my servicegroup first (w/out any
> members) and then did a config check.  At that point it complained
that
> the servicegroup had no members and wouldn't go.  Apparently though
> after I've added the "servicegroup" directive to some services, it's
no
> longer complaining about the "members" being missing.

Because it has members now, a 'member' indicating a service that is part
of the group, not specifically the 'members' directive for the
definition. The terminology may be slightly confusing but the concept
shouldn't be. A servicegroup (or any group) has to have members (e.g.
services in this case) associated with it, either through the
servicegroup members definition or through the service servicegroups
definition. A group with no members is meaningless.

--
Marc 


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