Linked Tests and Agents

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
sstimson
Posts: 10
Joined: Mon Dec 19, 2005 1:22 pm

Linked Tests and Agents

Post by sstimson »

I have a number of tests I want to run on various different servers such as checking the space on the C drive and that various Windows services are running. Ideally I'd like to setup a single test and then have linked tests running for each server. It looks like the linked tests use the same agent. I've got a default agent by Folder and setup the test to be use the Folder Specific Agent - but when I created the linked test in another folder with a different default agent - it still uses the original agent - not the one for that folder.

Is there a way of having a linked (or master test) so that I can create and manage from a single place?

Thanks,
Steve
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Links are used just to display one test item in different folders.
Please check for details:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#links
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may create "Template" test items by specifying Folder-specific RMA agent and using folder-related and user-defined macro variables as test parameters.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #templates

You may copy these "Template" test items into specified Folder using HostMonitor/RCC GUI, Telnet, or using HMS script commands like CopyTest, CopyAllTests etc.
Also, HMS command CopyIntoSelectedFolders can be used to copy specified test item into set of folders.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
sstimson
Posts: 10
Joined: Mon Dec 19, 2005 1:22 pm

Post by sstimson »

I have been trying to create templates so I can just copy the tests from one server to another. The one problem I have is if I want to change the "template" test, it does not seem like there is an easy way to delete all of the tests so I can copy an updated template to that folder. I can sort everything in a view so I can get all the tests together - but there is no way to delete the tests from the view. Is there a way to be able to delete all tests based on the template (or better yet - overwrite a test when copying)?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

If you need to modify several test items selected by View, you may use Export/Import from specially formatted text file:
1. Select View
2. Select some or all test item from selected View
3. Export these test items using menu File -> Export to Text file... (mark "Include folder information" option)
4. Modify exported file and specify ImportMode = Modify command at the beginning of text file.
5. Import modified Test items using menu File -> Import from Text file...

Please check sample import file with descriptions:
http://www.ks-soft.net/hostmon.eng/examples/import1.htm
Post Reply