On 12.11.2012 10:57, Stephane Bortzmeyer wrote: > On Mon, Nov 12, 2012 at 10:42:45AM +0100, > Simon Oosthoek<soosth...@nieuwland.nl> wrote > a message of 53 lines which said: > >> so in the host description of e.g. the firewall(s), which are >> reachable through a redundant switchpair, I'd write this: > You can try but I seriously doubt that Assaf Flatto's answer will > work. > > May be check_cluster would be a better approach? Configure > check_cluster to use the status of the two switches and then make your > hosts depend on check_cluster's status. > > http://nagiosplugins.org/man/check_cluster
If you want to make this an aggregated service itsself, you might consider using check_multi instead. check_cluster depends on existing service states accessible via on-demand macros, while check_multi allows you to push the logic into its cmd files where all the checks and logic may happen, generating a valid result for your parent logic. https://wiki.icinga.org/display/howtos/check_multi I'm using that in various environments to check ipv4 and ipv6 hosts and determine their reachability (which can get nasty soon enough as ipv6 is still not available everywhere - which is bad) > > ------------------------------------------------------------------------------ > 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 -- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org ------------------------------------------------------------------------------ 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