Action send mail

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
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Action send mail

Post by Nadir »

Hi all,

I want to configure send e-mail after 2 consecutive bad reply and send an other when test become again good.

Actually, I have an action profile configured like that:
"Bad" status action --> send e-mail start after 2 repeat 1
"Good" status action --> send e-mail start after 1 repeat 1

But the problem is when a test failed just 1 time I have an e-mail!!

Any way to solve that?

Thanks
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You just should use "Action depends on "bad" one" option.
Quote from the manual:
===================
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.
===================
http://www.ks-soft.net/hostmon.eng/mfra ... pendsOnBad

Regards,
Max
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Wonderfull thanks :)
Post Reply