Host dependency puzzle

Tom DE BLENDE tdeblend at gcc.dhl.com
Mon Feb 3 15:52:17 CET 2003


Dear,

What you are looking for is parent/child host relationships in your
host definitions, not host dependencies.

"parents:
This directive is used to define a comma-delimited list of short names
of the "parent" hosts for this particular host. Parent hosts are
typically routers, switches, firewalls, etc. that lie between the
monitoring host and a remote hosts. A router, switch, etc. which is
closest to the remote host is considered to be that host's "parent".
Read the "Determining Status and Reachability of Network
Hosts" document located here for more information. If this host is on
the same network segment as the host doing the monitoring
(without any intermediate routers, etc.) the host is considered to be
on the local network and will not have a parent host. Leave
this value blank if the host does not have a parent host (i.e. it is
on the same segment as the Nagios host). The order in which you
specify parent hosts has no effect on how things are monitored."

Bas van der Veen wrote:
> 
> Hi,
> 
> I've been experimenting with Nagios all weekend and I must say I really like it. It most likely will lighten the load on our primary monitoring system (if not replacing it).
> However, I have a small qustion regarding host dependencies:
> 
> Suppose I have two hosts, a router and a firewall behind this router. If the router is down, nagios should be aware of the fact that it can't reach the firewall (this is being monitored over the internet, not from inside the network). I made a host dependency like this:
> 
> define hostdependency{
>         host_name Host1
>         dependent_host_name Host2
>         notification_failure_criteria d }
> When using this dependency, Nagios doesn't see host2 as a dependent host on host1. The status map also shows host2 directly connected to the Nagios process instead of host1.
> I'm quite clueless here, any help wouldy (ofcourse) be appreciated.
> Bas van der Veen
> Sysadmin Kahuna Group
> 
> ******************************************************************
> This footnote also confirms that this email message has
> been swept by MIMEsweeper for the presence of
> computer viruses.
> ******************************************************************
> http://www.kahuna.nl
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list