On 11/12/2012 10:24 AM, Assaf Flatto wrote:
> Icinga handles this as yo u described it.
>
> to define it all you have to do is define both parents in the host
> definition and the paent/child logic will do the rest.
>
> http://docs.icinga.org/latest/en/objectdefinitions.html#host see the
> note about parents .
>
so in the host description of e.g. the firewall(s), which are reachable
through a redundant switchpair, I'd write this:
define host {
host_name switch1
}
define host {
host_name switch2
}
define host {
host_name fw1
parents switch1,switch2
}
define host {
host_name fw2
parents switch1,switch2
}
define host {
host_name isp_gw
parents fw1,fw2
}
And if switch1 goes off-line, the reachability logic will still test
fw1/fw2 as available and ok until switch2 goes away?
Similarly for isp_gw and fw1/fw2?
Nice!
/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
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users