Alert if 2 of 3 tests are bad

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
andreas
Posts: 2
Joined: Tue Feb 23, 2010 6:55 am

Alert if 2 of 3 tests are bad

Post by andreas »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Post Reply