<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
Double-checking the docs I think I just realized this...<br>
<br>
If I understand this right, the "parents" option is used for Nagios
itself (prehaps better re-worded as "internally") to define the network
topology for the core host check. If the switch is down, it won't mark
a host as Down, only as Unreachable.<br>
<br>
For a "host dependency", I have to define something like this:<br>
<br>
define hostdependency{<br>
    host_name            Host A<br>
    dependent_host_name        Host C<br>
    notification_failure_criteria    d<br>
    }<br>
<br>
define hostdependency{<br>
    host_name            Host B<br>
    dependent_host_name        Host C<br>
    notification_failure_criteria    d,u<br>
    }<br>
<br>
Am I understanding this right?<br>
<br>
What gets me is that what Nagios seems to call a parent is, to me
anyway, a network/host dependency. Hosts are dependent on the network
and services are dependent on hosts. I guess I'm missing where a "host
dependency" would actually be of any value...<br>
<pre class="moz-signature" cols="72">
  A. Davis
  Email:     <a class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>

  "There is no limit to what a man can accomplish
   if he doesn't care who gets the credit." - Ronald Reagan
</pre>
<br>
<br>
Marc Powell wrote:
<blockquote cite="mid:B593DBC5-4D68-48FD-87DA-F3F3E7107D16@ena.com"
 type="cite">
  <pre wrap="">On Jun 1, 2009, at 1:46 PM, Andrew Davis wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">The bulk of my systems are behind one of three switches. I just went  
through my hosts.cfg file and added the "parents" line and  
appropriate switch name for each, but the host dependencies aren't  
showing up.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Parents and host dependencies are not the same thing. parents is  
probably what you want and have configured correctly based on the  
information you've provided. Nagios doesn't count them for the summary.

--
Marc

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/opensolaris-get">http://p.sf.net/sfu/opensolaris-get</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
  </pre>
</blockquote>
</body>
</html>