Action(smtp message) when status changes

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
doniphon
Posts: 26
Joined: Wed Feb 13, 2008 4:38 am

Action(smtp message) when status changes

Post by doniphon »

Hello guys,
I need to configure a ping test that send a smtp mesage (just one!) when the ping test status changes from "alive" to "dead" and send another message (just one!) when the same ping test status changes newly from "dead" to "alive". How can i do? Thanks in advance.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You should create an alert profile with two "Send Email" actions and assign this profile to the ping test.
http://www.ks-soft.net/hostmon.eng/mfra ... m#profiles
First "Send Email" action should be added into "Bad status actions" area and second action should be added into "Good status actions" area. Both actions should be configured with following parametes:
1. Start when 1 consecutive "Bad/Good" results occur
2. Repeat 1 times

Beside that, in some cases you may find useful another option - "Action depends on "bad" one" for the "Good" status actions. 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.
==============================================

You may find detailed information regarding "Send Email" action here:
http://www.ks-soft.net/hostmon.eng/mfra ... m#actEMail

Regards,
Max
Post Reply