Paul Dugas wrote: > 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? >
You have no notification_failure_criteria or check_execution_failure_criteria specified. As such, it's a completely empty dependency that Nagios will simply ignore because it will have zero impact during run-time. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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 Nagios-users@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