> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Michael Jewett > Sent: Friday, October 26, 2007 11:21 AM > To: Cook, Garry > Cc: [email protected] > Subject: Re: [Nagios-users] Host Dependencies > > Can I do something like this? > > define hostdependency{ > host_name 2380-hh-1 > notification_failure_criteria d,u > dependent_hostgroup Access-Points > }
I haven't tried it myself but the implication from http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostdependenc y, presuming that Access-Points is a hostgroup, is that you can use define hostdependency{ host_name 2380-hh-1 notification_failure_criteria d,u dependent_hostgroup_name Access-Points } All hosts in Access-Points would then be dependent on 2380-hh-1. Should be straightforward to TAFO. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
