Editing several same-type tests parameters

Need new test, action, option? Post request here.
Post Reply
Ben
Posts: 18
Joined: Tue Dec 04, 2018 2:15 am

Editing several same-type tests parameters

Post by Ben »

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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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/mfr ... #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/exa ... mport1.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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, I was wrong :oops:
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
Ben
Posts: 18
Joined: Tue Dec 04, 2018 2:15 am

Post by Ben »

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.
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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 :roll:

Regards
Alex
Post Reply