Consecutive test anomaly

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

Post by KS-Soft »

In my initial post I explained my requirements.
Either we misunderstand you or you change your requirements every time.

Quotes from your posts
1) I have been trying to get a test to repeat 4 times before reporting a failure, but with the tests grouped into 2, wait 10 mins, 2, report failure.
2) I actually wanted to start when any number of bad results and repeat x times. If I use advanced mode I can set bad results > 1, but how do I set repeat?
3) I would like to be able to repeat actions everytime the test runs and there is a bad result, regardless of the number of bad results.

IMHO these requirements are different.

I think we have provided solutions for every case.
If you do not like to add 2 actions into profile, no problem, you may use "advanced" mode. Its very flexible, e.g. you may use expression like ('%SimpleStatus%'=='DOWN') and (%Recurrences% mod 2==1) or you may use expression like ('%SimpleStatus%'=='DOWN') and ((%Recurrences%==1) or (%Recurrences%==3) or (%Recurrences%==5))

Anyway, HostMonitor works correctly so this topic is closed.
If you still have some question, please use "Installation and configuration" forum.
If you have some wishes for future versions of HostMonitor, use "Wish list" forum

Regards
Alex
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Re: Consecutive test anomaly

Post by JuergenF »

msv wrote:In my initial post I explained my requirements.
I have been trying to get a test to repeat 4 times before reporting a failure, but with the tests grouped into 2, wait 10 mins, 2, report failure.
This only seems possible by setting multiple "repeat test" actions with specific "start after" numbers. It would have been easier to create and test the action, and more flexible, if I could set the action to occur if the test is bad, but only repeat once.

cheers, Paul
I'd like to help clarifying. My understanding:
- Run a test every x seconds
- If Teststatus is BAD then Repeat Test (Run it again)
- If Teststatus is still BAD then Wait 10 mins and then Run the test again
- If Teststatus is still BAD then Repeat Test (Run it again)
- If Teststatus is still BAD then Report failure

Is that like this Paul ?

PS: Sorry I wrote this before I saw the last post from Alex
Post Reply