KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Alert if 2 of 3 tests are bad

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
andreas



Joined: 23 Feb 2010
Posts: 2

PostPosted: Fri Aug 05, 2011 3:28 pm    Post subject: Alert if 2 of 3 tests are bad Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Fri Aug 05, 2011 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index