Host Dependencies

Marc Powell marc at ena.com
Sat Oct 27 17:29:51 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Michael Jewett
> Sent: Friday, October 26, 2007 11:21 AM
> To: Cook, Garry
> Cc: nagios-users at lists.sourceforge.net
> 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
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