Rechecking dependent tests

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 »

Thanks for the response, maybe I am misunderstanding you now, Test A produces file A and test B reads file A so test B will fail is file A doesn't exist.
By having the dependency Test B will not run till Test A finishes. If I remove the dependency like you suggest above then Test B will run at 9:30 no matter what.
Do you mean test B should be started only if test A returns good status?
So you want to run TestA starting from 9.00 till test returns Ok status and then start TestB one time?
PLEASE describe everything you need, I still do not understand what EXACTLY do you need :oops:

Regards
Alex
pspencer008
Posts: 34
Joined: Wed Jul 30, 2014 1:00 am

Post by pspencer008 »

KS-Soft wrote:
Thanks for the response, maybe I am misunderstanding you now, Test A produces file A and test B reads file A so test B will fail is file A doesn't exist.
By having the dependency Test B will not run till Test A finishes. If I remove the dependency like you suggest above then Test B will run at 9:30 no matter what.
Do you mean test B should be started only if test A returns good status?
So you want to run TestA starting from 9.00 till test returns Ok status and then start TestB one time?
PLEASE describe everything you need, I still do not understand what EXACTLY do you need :oops:

Regards
Alex
Alex,

Yeah that's exactly what were trying to do.

Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then I would suggest do not use any schedule restrictions for test B, just set long test interval (23hours,59min) and enable "Recheck dependant test items when master test status has been changed" option.

Unless you need to perform testB even if testA returns 2 "good" statuses in a row (e.g. Mon 9:00 and Tuesday 9:00).
Then you don't need "Recheck dependant test items when master test status has been changed" option. Instead you may use HMScript action assigned as "good" action to testA, add "RefreshTest TestB" command into this script

Regards
Alex
pspencer008
Posts: 34
Joined: Wed Jul 30, 2014 1:00 am

Post by pspencer008 »

Alex,

Many thanks for that. Thanks for persisting with my sorry excuse for explanations.

Have a good day
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply