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

Good status mail only when bad status recurrence is => 2

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



Joined: 26 Nov 2009
Posts: 23

PostPosted: Thu Aug 19, 2010 4:20 am    Post subject: Good status mail only when bad status recurrence is => 2 Reply with quote

Hi everybody

Following scenario:
I want to have only then a Good Status mail when the bad status has 2 or more recurrences.
So I think a macro like %LastRecurrences% can help me to get this done but unfortunatley this one doesn't exist.
Are they any other ways to get this done?
Thanks for any feedback

Thorre
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Thu Aug 19, 2010 6:48 am    Post subject: Reply with quote

I assume you already set "Start when 2 consecutive Bad results occur" option for "Bad" action assigned to the test?
Then you just need to mark "Action depends on bad one" option for "Good" action (use "standard mode" for these actions).

Quote from the manual
===================
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
Alex
Back to top
View user's profile Send private message 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