Multiple host parents / dependencies
Chris Wilson
chris at aidworld.org
Fri Mar 11 14:30:21 CET 2005
Hi Daniel,
I don't understand why the dependency "doesn't work".
If you want the host to be marked unreachable whenever the switch (or
ITS parent) goes down, then make its parent the switch. This is
completely independent of the physical connections, layer 2, etc. It's
just and exactly how Nagios evaluates whether a host is unreachable or
not.
When you say the router dependency "doesn't work as expected", that
doesn't give me enough information to even begin to figure out what the
problem is. What is "expected" and how does the observed behaviour not
match it? What exactly is the configuration of the router, switch and
host? (copy & paste please).
Cheers, Chris.
On Fri, 2005-03-11 at 13:20, Daniel Wüthrich wrote:
> Hi
>
> This does not work in our enviroment because we are using vlan. All
> switches have a management interface and therefore each switch has another
> switch as parent => Layer 2 network Layout (all switches are checked in
> this management network. Therefore a dependency "switch -> host" is not
> possible.
>
> I tried to make a hostdependency for the layer 3 (router) dependency but
> it doesn't seem to work as I expect.
>
> Daniel
>
> On Fri, 11 Mar 2005 12:22:24 +0000, Chris Wilson <chris at aidworld.org>
> wrote:
>
> > Hi Daniel,
> >
> >> Is it (how) possible to use multiple Host parents if the Host depends on
> >> ALL parents?
> >>
> >> I would like to have dependencies where a host depends on several
> >> parents
> >> (e.g. switch & router). The problem is that if I specify multiple
> >> parents
> >> nagios assume a redundant connection. But in my case the host depends on
> >> the router AND the switch. The host has to be declared as unrechable if
> >> either the switch OR the router (or both) are down.
> >>
> >> I tried the parents option and hostdependencies but I couldn't get a
> >> working solution.
> >
> > If you have connected "router -> switch -> host", then make the switch
> > depend on the router, and the host on the switch.
> >
> > Cheers, Chris.
--
(aidworld) chris wilson | chief engineer (chris at aidworld.org)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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