Antw: Service group definition ?

Daniel Tuecks dtuecks at neuwied.de
Thu Jan 15 18:09:18 CET 2004


Hi Romain

As far as I know "members" must be defined as follows:

sample:
--------

define servicegroup{

        servicegroup_name       PING
        alias                   PING
        members                 server1,ping,server2,ping,server3,ping
}


-- Daniel

>>> Romain DEGEZ<romain.degez at smartjog.com> 09.01.2004 19:03:38 >>>
SInce the documentation is still not available, i was wondering what are 
the possible directive of the servicegroup definition :

define servicegroup{
         servicegroup_name       Network_check
         alias                   Network checking tools
         }

It seems ok for nagios but it's a nonsense because no services are 
declared as being members of this group.

When i try

define servicegroup{
         servicegroup_name       Network_check
         alias                   Network checking tools
	members			PING
}

with a service definition of :

define service{
         ...
	service_description             PING
	...
}

I assume service_description is used as service name since the 
service_name directive doesn't seem to work.

I got
"Error: Missing service name in servicegroup definition (config file 
'/usr/local/share/nagios/etc/servicegroups.cfg', starting on line 22)"

Any idea of how to use servicegroup ?

-- 
Romain


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html 
_______________________________________________
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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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