Hello,
My question is:
How to "link" all the same tests between them.
Actually i created a "Template" for all my hosts agents but the only solution that i found to copy my tests from template to all other hosts is to use the fonction "copy".
But if i want to change "ping parameters" i must change all tests from all hosts :/
Thanks in advance, for the Support !
How to link all test between them ?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may create test links in HostMonitor.
However, "linked" test items cannot have different settings.
They only can be stored in different folders.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#links
However, "linked" test items cannot have different settings.
They only can be stored in different folders.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#links
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
If you need to change test settings for set of test items, you may use HMS script and commands like:
SetTestParam
ReplaceTestParam
Using these comands you may change the following parameters:
- timeout <number> - changes communication timeout
- retries <number> - changes number of retries
- username <name> - changes account used for "Connect as" option
- password <pswd> - changes password used for "Connect as" option
- comment <text> - changes entire comment assigned to the item
- commentlineNN <text> - changes specified line of the comment assigned to the item (NN is number from 1 till 99)
- testinterval <min> | <HH:MM:SS> - changes execution interval for specified test items.
- AlertProfile <profile name> - changes alert profile
- AlertProfile2 <profile name> - changes second alert profile (when this feature enabled)
- Schedule <profile name> - sets schedule assigned to the test
- TestBy <name> - sets "Test by" parameter; you may provide agent name, hostmonitor or folder-specific string
- usecommonlog yes|no - turns on or off common logging
- reversealert yes|no - turns on or off "reverse alert" option
- unknownasbad yes|no - sets "Treat Unknown status as Bad" option
- warningasbad yes|no - sets "Treat Warning status as Bad" option
- syncmastercounters yes|no - turns on/off "Synchronize counters" property
- syncmasterstatus yes|no - turns on/off "Synchronize status & alerts" test property
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
SetTestParam
ReplaceTestParam
Using these comands you may change the following parameters:
- timeout <number> - changes communication timeout
- retries <number> - changes number of retries
- username <name> - changes account used for "Connect as" option
- password <pswd> - changes password used for "Connect as" option
- comment <text> - changes entire comment assigned to the item
- commentlineNN <text> - changes specified line of the comment assigned to the item (NN is number from 1 till 99)
- testinterval <min> | <HH:MM:SS> - changes execution interval for specified test items.
- AlertProfile <profile name> - changes alert profile
- AlertProfile2 <profile name> - changes second alert profile (when this feature enabled)
- Schedule <profile name> - sets schedule assigned to the test
- TestBy <name> - sets "Test by" parameter; you may provide agent name, hostmonitor or folder-specific string
- usecommonlog yes|no - turns on or off common logging
- reversealert yes|no - turns on or off "reverse alert" option
- unknownasbad yes|no - sets "Treat Unknown status as Bad" option
- warningasbad yes|no - sets "Treat Warning status as Bad" option
- syncmastercounters yes|no - turns on/off "Synchronize counters" property
- syncmasterstatus yes|no - turns on/off "Synchronize status & alerts" test property
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript