Hi Assaf

I found some links to support your answer :-)

http://community.nagios.org/2009/08/23/nagios-establishing-parent-child-relationship-is-both-easy-and-required/
http://mathias-kettner.de/checkmk_parents.html

On 11/12/2012 12:38 PM, Assaf Flatto wrote:
> The  logic is the same one that exists in nagios , and thus allow
> multiple parents per host ( tried and tested)

I get the impression that very few people use it with multiple parents 
to check reachability with redundant switches.

> the documentation does use a singular ( as does the nagios
> documentation) and if you'd like to consider that a bug , please report
> it in the icinga dev tracker.

The documentation for both Icinga and Nagios have pretty much the same 
words, but whereas the parameter is called "parents", the examples all 
use a single parent (parents    switch01), instead of multiple parents 
(parents        switch01,switch02)

The first link above has a response questioning the logic of a 
configuration with multiple parents defined (AND or OR).

In the second link I see the logic should be taken as OR for the 
multiple parents:
> Within a host declaration Nagios allows you to define a list of parent hosts. 
> Nagios assumes then that the host is only reachable if at least one of those 
> parent hosts is reachable. Such a definition could look like this:
> /etc/nagios/conf.d/hosts.cfg
>
> define host {
>     use            default
>     host_name      dns01
>     alias          DNS Server 1 DMZ
>     address        10.0.34.18
>     parents        sw01,sw02
> }

/Simon

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to