Service group definition ?

Romain DEGEZ romain.degez at smartjog.com
Fri Jan 9 19:03:38 CET 2004


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





More information about the Users mailing list