KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Action(smtp message) when status changes

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
doniphon



Joined: 13 Feb 2008
Posts: 26

PostPosted: Wed Feb 13, 2008 4:47 am    Post subject: Action(smtp message) when status changes Reply with quote

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.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Feb 13, 2008 5:07 am    Post subject: Reply with quote

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/mframe.htm#actions.htm#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/mframe.htm#actions.htm#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/mframe.htm#actions.htm#actEMail

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index