View previous topic :: View next topic |
Author |
Message |
Thore
Joined: 26 Nov 2009 Posts: 23
|
Posted: Tue Oct 18, 2011 1:43 am Post subject: Special good status mail |
|
|
Hi everybody
I want to have a special setup when a good status mail should be send. a switch port where our wan router is monitored using the Traffic Monitor test. As the replay values varies when each test is performed I have done the following to get a bad status. Only when 5 times in a row the status is bad a bad status mail should be send. This is working fine. A good status mail should only be sent when test turns back to good and before 5 or more test in a row turned back when bad status.
Hope you understand what I want to have.
Thanks a lot
Thore |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Tue Oct 18, 2011 4:58 am Post subject: |
|
|
May be you do NOT want to start "good" action when "bad" action was not triggered because test failed less than 5 times in a row?
Then please read the following part of the manual
Quote: | 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. |
Regards
Alex |
|
Back to top |
|
|
Thore
Joined: 26 Nov 2009 Posts: 23
|
Posted: Tue Oct 18, 2011 11:21 pm Post subject: |
|
|
Hi Alex
That's exactly what I wanted to have. Is there any possibility to get the same result using the Advanced Mode with Expressions? Using this one I'm more felxible if something more is needed as well.
Thanks a lot
Regards
Thore |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Wed Oct 19, 2011 7:13 am Post subject: |
|
|
Sometimes its possible but not in general case.
What exactly condition do you use for bad action?
Regards
Alex |
|
Back to top |
|
|
|