start 10 minutes later the master test

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
sine
Posts: 37
Joined: Wed Feb 07, 2007 6:42 am

start 10 minutes later the master test

Post by sine »

hello

it's possible to schedule a test for start 10 minutes later the master test??

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

Post by KS-Soft »

You need to use 2 different schedules for these tests (its not master-dependant pair).
E.g. If you need to start such tests once a day, use Irregular schedule and "once a day" option

Regards
Alex
sine
Posts: 37
Joined: Wed Feb 07, 2007 6:42 am

Post by sine »

i need to do this

test A start every 1 hour
ONLY If test A success then test B whait 10 minutes then start
if test A not success the test B will not start


it's possible to do this?
Yoorix
Posts: 177
Joined: Wed Dec 14, 2005 8:28 am

Post by Yoorix »

sine wrote:test A start every 1 hour
ONLY If test A success then test B whait 10 minutes then start
if test A not success the test B will not start
There no prepared solution in such case. I can suggest you a workaround, but it is not much reliable. So, test a performs every hour. For instance, at 08:10, 09:10, 10:10, etc. You have to setup new test B and make it to be dependent on expression: ('%::TestA_Name::SimpleStatus%'=='UP'). To make it perform with 10 min precision, you should specify "Regular Schedule" to be performed every hour and in addition use "Schedules": http://www.ks-soft.net/hostmon.eng/mfra ... #Schedules
Quote from manual:
============
Tune You may define schedules with up-to-the-minute precision. To use this feature click on "Tune" button or select "Edit intervals" item from popup menu. In a popup window appearing, you will be able to check and modify list of time intervals. To change "From" or "Till" time just type new time, to change day of the week press F2 and select day from drop-down list or type one of the following words to specify day of the week:

* Mon, Tue, Wed, Thu, Fri, Sat, San, Holiday
* type the word 'any'. HostMonitor will replicate time interval for every day of the week (including holidays)
* type the word 'work'. HostMonitor will replicate time interval for Monday-Friday
* type set of day numbers, e.g. '123' (Monday..Wednesday) or '12345678' (Monday-Sunday and Holidays) and so on
============

Lets consider, now is 09:10. So you should specify into "From" field 10:20.
We are planning, that Test A should be performed in 10:10, and schedule test B to be performed at 10:20
After test B will have been performed by HostMonitor at 10:20 first time, you should change "From" value back to 00:00. Now Test B should be performed every our 11:20, 12:20,13:20, etc in case Test a is UP.

Please note: you should adjust such shedule every time you restart the HostMonitor.

Regards,
Yoorix
Post Reply