good alert ONLY after 3 consecutive 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
curtis224
Posts: 3
Joined: Fri Feb 29, 2008 8:41 am

good alert ONLY after 3 consecutive bad

Post by curtis224 »

What is the best way to send a good alert (email) only after I've experienced 3 'Bad' responses?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: good alert ONLY after 3 consecutive bad

Post by KS-Soft Europe »

curtis224 wrote:What is the best way to send a good alert (email) only after I've experienced 3 'Bad' responses?
The simplest way is to add additional "Bad" action (any action), that should be triggered after 3 consecutive "Bad" probes. After that, you may add a "Send Email" action into "Good status actions" area, enable "Action depends on "bad" one" option and select foregoing "Bad" action from the dropdown. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... properties
=======================================
Action depends on "bad" one
This optional parameter is available for "Good" actions only. You can set "Good" action dependable on a "Bad" action. Why do you need it? For example you defined "Bad" action to send an e-mail notification to the network administrator when test fails 3 times consecutively (start when 3 consecutive "Bad" results occur), also you defined «Good» action to send a notification when the test status changes to "Good". What will happen if test fails 1 or 2 times and after this it restores "Good" status? HostMonitor will not send a notification about failure (because test did not fail 3 times) but the program will send notification about restoring "Good" status. To avoid unnecessary "Good" action execution you can mark "Action depends on "bad" one" option and select "Bad" action. In this case HostMonitor will start "Good" action only if corresponding "Bad" action was executed.
=======================================

Regards,
Max
Post Reply