servicegroup dependant on other service
Paul Dugas
paul at dugas.cc
Mon Sep 10 16:23:48 CEST 2007
I've defined a service for a hostgroup and am trying to make each of
those services dependent on one other service. I don't want to have to
type the name of every member of the hostgroup; there are hundreds of
them.
This is the "master" service
> define service{
> host_name svr
> service_description VIDS
> check_command check_snmp_proc!VIDS_Server
> use server-service
> }
These need to be dependent on the "master" service
> define service{
> hostgroup_name CAM
> service_description CONTROL
> check_command check_cam_control_vids!svr
> use cam-service
> }
This isn't working.
> define servicedependency{
> host_name svr
> service_description VIDS
> dependent_hostgroup_name CAM
> dependent_service_description CONTROL
> }
I'm getting this for each member of the CAM hostgroup
> Warning: Ignoring lame service dependency (config file '/etc/nagios/nav/cam.cfg', line 57)
Any ideas as to where I'm going awry?
TIA,
pd
--
Paul Dugas <paul at dugas.cc>
Dugas Enterprises, LLC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070910/4afd7422/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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