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

Alert for Simultaneous failures

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



Joined: 20 Feb 2008
Posts: 12

PostPosted: Wed Feb 20, 2008 10:11 pm    Post subject: Alert for Simultaneous failures Reply with quote

I'm looking to create an alert with our Hostmon version6.82 that will trigger an email action when we have 10+ simultaneous failures. This means that if more than 10 tests fail within, say a 30 seconds time period, an email gets triggered.

Thanks in advance
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Feb 21, 2008 9:21 am    Post subject: Reply with quote

Hm. The only appropriate solution I see, is to copy these tests in to separate folder and use %FolderCurrent_BadTests% macro variable.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro
=======================================
%FolderCurrent_BadTests% - Number of the test items (in the folder) those have "Bad" status
=======================================
For instance, you may setup additional "dummy" test (e.g. Ping 127.0.0.1) and use "This test depends on expression" mode. Set the following options:
Perform test if: (%FolderCurrent_BadTests% < 10) or ((%FolderCurrent_BadTests% <= 10) and ('%SimpleStatus%'=='DOWN'))
Otherwise status: Bad
Synchronize status & alerts: [x]
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#Master

To this "dummy" test you may assign an alert profile with "Send email" action in "Bad status actions" area. Such configuration allows you to avoid receiving unnecessary alerts. For instance, if you specify "Start when 1 consecutive "Bad" results occur" and "Repeat 1 times" options in "Action Properties" window, you will receive just one alert when the number of failed tests exceeds 9.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail 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