Host dependency configuration

Mike W uce_mike at yahoo.com
Wed Jun 26 17:20:13 CEST 2013


I am attempting to configure it so 2 hosts are dependent on each other. 
Making it so if one is down/unreachable an alert it NOT sent unless both 
are down/unreachable. I tested the following configuration during the 
proper time period and it seemed to not function. Am I missing something?

define hostdependency{
         host_name       lab1.hostname.com
         dependent_host_name     lab2.hostname.com
         notification_failure_criteria   d,u
         dependency_period       soft_off_work_hours
}
define hostdependency{
         host_name       lab2.hostname.com
         dependent_host_name     lab1.hostname.com
         notification_failure_criteria   d,u
         dependency_period       soft_off_work_hours
}


-- 

Mike Wilson

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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