how to configure dependent 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
vidyagana
Posts: 106
Joined: Fri Mar 25, 2005 10:35 am

how to configure dependent test

Post by vidyagana »

Hi:

My requirement is as follows:

1. I have a windows batch file which runs on 3rd monday of every month at 6:00 AM and it just writes a file writefile.txt to a folder c:\temp.
2. Using hostmonitor I configured one test, which will check the folder every monday between 6:00 AM and 7:00 AM with the option "alert when file exists" (writefile.txt). (But the action profile is selected as "Do Nothing") I need to configure dependent tests as follows:

I want test 2 to be the master test for another ODBC query test which runs every monday between 6:00 AM and 7:00 AM and dependent on test 2 and emails the query result. After this ODBC query test finishes I want it to start another test which will delete the writefile.txt.

Even though I configured the tests as master and dependent tests like

test 2 => master test for odbc test.
odbc test => dependent on test 2 and master test for delete test

The tests are still not getting invoked in that order. The ODBC test and delete test dont even run. Please let me know how this can be done or if I am making some mistakes.

Your help is greatly appreciated.

Thanks.
Yoorix
Posts: 177
Joined: Wed Dec 14, 2005 8:28 am

Re: how to configure dependent test

Post by Yoorix »

vidyagana wrote:I want test 2 to be the master test for another ODBC query test which runs every monday between 6:00 AM and 7:00 AM and dependent on test 2 and emails the query result. After this ODBC query test finishes I want it to start another test which will delete the writefile.txt.

Even though I configured the tests as master and dependent tests like

test 2 => master test for odbc test.
odbc test => dependent on test 2 and master test for delete test
I think you should set "Synchronize counters" and "Synchronize status & alerts" for odbc test and for delete test.

It might help.

Regards,
Yoorix
Post Reply