Host dependencies not being picked up...
Andrew Davis
nccomp at gmail.com
Mon Jun 1 21:24:53 CEST 2009
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: nccomp at gmail.com
"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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090601/ebb8d64f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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