View previous topic :: View next topic |
Author |
Message |
Ben
Joined: 04 Dec 2018 Posts: 17
|
Posted: Fri Mar 10, 2023 9:25 am Post subject: Editing several same-type tests parameters |
|
|
Hello,
I hope I'm not missing a already existing function:
I'd like to edit the trigger of several tests of the same type. For exemple I have some SNMP tests that gives me iLO firmware versions. I'd like the ability to edit the triggers of all those test at once when a new version of the firmware is available so I'd know which ones are outdated. I'd just have to highlight those tests then right click edit.
I could also edit their community, or target IP, why not.
It it possible? I guess I'm missing the function, it seems obvious.
Same thing could/should be with all same type tests: we should be able to edit the properties/parameters of same types test, or even names.
Thanks |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12654 Location: USA
|
Posted: Fri Mar 10, 2023 12:52 pm Post subject: |
|
|
Are we talking about SNMP Get test method and HM Script (SetTestParam and ReplaceTestParam commands)?
Yes, you can set Timeout and Retires, while Threshold parameter is not supported for SNMP Get test method. Probably we can add such option
https://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#actScript
For now you may use Export to text file + Import from text file function (menu File) and Find&Replace text using any text editor.
Just set ImportMode=Modify on the top
https://www.ks-soft.net/hostmon.eng/examples/import1.htm
If you have 50000-150000 tests in the list, it can be slow.
We increased speed in version 13.90 (not available for download yet)
Regards
Alex |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12654 Location: USA
|
Posted: Mon Mar 13, 2023 1:52 pm Post subject: |
|
|
Sorry, I was wrong
This option was implemented years ago so you can use HMS script in order to change Threshold parameter for SNMP Get tests.
E.g.
ReplaceTestParam _AllSNMP Threshold "Windows XP" "Windows Vista"
Regards
Alex |
|
Back to top |
|
 |
Ben
Joined: 04 Dec 2018 Posts: 17
|
Posted: Tue Mar 14, 2023 7:41 am Post subject: |
|
|
Hi!
Thanks for your answer.
TBH it doesn't feel like it's as easy as using the UI, plus we have operators that aren't allowed to use scripts or access to the server.
Sometimes there are indeed hundre of tests to modify and your solution may be adapted, but sometimes it's less than ten. |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12654 Location: USA
|
Posted: Wed Mar 15, 2023 7:00 am Post subject: |
|
|
Script is fast and flexible option but yes, you need telnet access or direct access to HostMonitor GUI or create auxiliary test item that will check for script file update and start it automatically.
Probably we can add some GUI interface for script commands so you will be able to start it easily using RCC, check modification before apply them
Regards
Alex |
|
Back to top |
|
 |
|