[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to suppress alerts when combo-testing?



Hi,

Im monitoring a cluster-setup, a/b-nodes + cluster ressource:

10.83.13.12     bskidmsrv001.bsk.rm.dk       # COMMENT:"SLES11cluster-res" prefer
10.83.13.10     bskidmsrv001a.bsk.rm.dk      # COMMENT:"SLES11a" ldap ldaps ntp ntpd badntp:1:3:3 prefer NOCOLUMNS:ldap,ldaps
10.83.13.11     bskidmsrv001b.bsk.rm.dk      # COMMENT:"SLES11b" ldap ldaps ntp ntpd badntp:1:3:3 prefer NOCOLUMNS:ldap,ldaps

ldap + ldaps will always be red on one of the nodes, so I've made a combotest to insert on the cluster-ressource:

bskidmsrv001.bsk.rm.dk.ldap = ( bskidmsrv001a.bsk.rm.dk.ldap + bskidmsrv001b.bsk.rm.dk.ldap ) == 1
bskidmsrv001.bsk.rm.dk.ldaps = ( bskidmsrv001a.bsk.rm.dk.ldaps + bskidmsrv001b.bsk.rm.dk.ldaps ) == 1

This works on - the green status shows up on the cluster-resseource host - BUT I still get alerting on all the hidden red-tests, and I can still acknowledge all of the tests, I thought I hid away with NOCOLUMNS.

How do I achieve this - ie. suppressing the red alerts on the nodes where ldap/ldaps is not running?

Regards,

Carl Melgaard