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 <[EMAIL PROTECTED]>
Dugas Enterprises, LLC

Attachment: signature.asc
Description: This is a digitally signed message 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/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to