|
View previous topic :: View next topic |
Author |
Message |
andreas
Joined: 23 Feb 2010 Posts: 2
|
Posted: Fri Aug 05, 2011 3:28 pm Post subject: Alert if 2 of 3 tests are bad |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12805 Location: USA
|
Posted: Fri Aug 05, 2011 3:48 pm Post subject: |
|
|
You may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#advancedaction
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 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|