Double-checking the docs I think I just realized this...

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.

For a "host dependency", I have to define something like this:

define hostdependency{
   host_name            Host A
   dependent_host_name        Host C
   notification_failure_criteria    d
   }

define hostdependency{
   host_name            Host B
   dependent_host_name        Host C
   notification_failure_criteria    d,u
   }

Am I understanding this right?

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...

 A. Davis
 Email:     [email protected]

 "There is no limit to what a man can accomplish
  if he doesn't care who gets the credit." - Ronald Reagan



Marc Powell wrote:
On Jun 1, 2009, at 1:46 PM, Andrew Davis wrote:

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.

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

Reply via email to