Hey,
is there a possibility to generate an alert if 2 from 3 tests are bad?
I have three MX-Server and at night i only want to receive an alert, if two of the SMTP-Tests are bad.
Thank you very much,
Andreas
Alert if 2 of 3 tests are bad
You may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
E.g. you may use expression like
('%SimpleStatus%'=='DOWN') and (%Recurrences%==1) and ((('%::TestNameA::SimpleStatus%'=='DOWN') + ('%::TestNameB::SimpleStatus%'=='DOWN') + ('%::TestNameC::SimpleStatus%'=='DOWN')) >= 2)
or
('%SimpleStatus%'=='DOWN') and (%Recurrences%==1) and ((('%::TestNameA::SimpleStatus%'=='DOWN') + ('%::TestNameB::SimpleStatus%'=='DOWN') + ('%::TestNameC::SimpleStatus%'=='DOWN')) = 2)
Regards
Alex
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
E.g. you may use expression like
('%SimpleStatus%'=='DOWN') and (%Recurrences%==1) and ((('%::TestNameA::SimpleStatus%'=='DOWN') + ('%::TestNameB::SimpleStatus%'=='DOWN') + ('%::TestNameC::SimpleStatus%'=='DOWN')) >= 2)
or
('%SimpleStatus%'=='DOWN') and (%Recurrences%==1) and ((('%::TestNameA::SimpleStatus%'=='DOWN') + ('%::TestNameB::SimpleStatus%'=='DOWN') + ('%::TestNameC::SimpleStatus%'=='DOWN')) = 2)
Regards
Alex