|
View previous topic :: View next topic |
Author |
Message |
mandg
Joined: 20 Feb 2008 Posts: 12
|
Posted: Wed Feb 20, 2008 10:11 pm Post subject: Alert for Simultaneous failures |
|
|
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 |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Thu Feb 21, 2008 9:21 am Post subject: |
|
|
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 |
|
|
|
|
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
|