Special good status 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
Thore
Posts: 23
Joined: Thu Nov 26, 2009 7:08 am

Special good status mail

Post by Thore »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
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
Thore
Posts: 23
Joined: Thu Nov 26, 2009 7:08 am

Post by Thore »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sometimes its possible but not in general case.
What exactly condition do you use for bad action?

Regards
Alex
Post Reply