A question for the waining of 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
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

A question for the waining of mail

Post by Stone_ll »

I want to do this:
I use ping test,now the status is not request.just as the host is dead.
when the host is alive,the ping testing result chanege from bad to alive.at the same time HM must send a waring of mail to adminstrator.

in a word,the test is do this:monitor the status changing---from bad to alive.
hoping for your reply...thanks
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

There are several posible solutions.
The first one is to use "Action depends on "bad" one" option. Quite 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.
===============================

Another solution is to use "advanced mode action" with the following expression:

Code: Select all

('%SimpleStatus%'=='UP') and (%Recurrences%==1)
Please, read the following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction

Regards,
Max
Stone_ll
Posts: 51
Joined: Sun Apr 27, 2008 9:23 pm

Post by Stone_ll »

I have resolved the problem by the "advanced mode action".
Thanks.I have resolved the problem by the "advanced mode action".
Thanks.
Post Reply