On 11/12/2012 01:31 PM, Michael Friedrich wrote: > On 12.11.2012 10:57, Stephane Bortzmeyer wrote: >> 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)
Check_multi looks interesting as well, but I'll have to really dig into it, it seems quite some work to setup. In this case check_cluster might be enough, since the status of the individual switches is also worth checking, so the results could easily be reused for a combined result. Cheers 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