Bulk Change of SNMP community string

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
vcatuor
Posts: 13
Joined: Thu Dec 28, 2023 3:57 am

Bulk Change of SNMP community string

Post by vcatuor »

Hi,

I just noticed that I created over 100 SNMP test using the built-in public community provile instead of public v2, is there a way to bulk change this ? The Edit function selecting several tests doesn't permit that

Thanks in advance
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You may change profile itself instead of changing test items related to the profile.

Unless you need this profile for other items?
Then you may
- select these test items
- export test settings into text file using menu File->Export...
- find&replace profile name using any text editor
- insert ImportMode=Modify line at the top
https://www.ks-soft.net/hostmon.eng/exa ... mport1.htm
- import new settings using menu File->Import...

Regards
Alex
vcatuor
Posts: 13
Joined: Thu Dec 28, 2023 3:57 am

Post by vcatuor »

Fair solution, thanks :-)
Ben
Posts: 27
Joined: Tue Dec 04, 2018 2:15 am

Re: Bulk Change of SNMP community string

Post by Ben »

I'm just hijacking the topic to say that an edit of several selected items that have a common parameter would be nice.

Changing the timeout of several pings, changing the community of several snmp tests, IP on several iLO tests, etc.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Bulk Change of SNMP community string

Post by KS-Soft »

Yes, it would be nice but we do not plan to implement such feature in nearest versions. Too many combinations for 150+ test methods.
There are export/import functions, there is HM Script, its a bit more complicated but flexible and works fine.
While parameters common for all test methods, such as interval, schedules, alerts, list of Master tests, etc can be edited at once for many items.

>IP on several iLO tests

Variables is very useful in such cases. E.g. set %fvar_host% variable on folder level and use it instead of static IP.
Then its very easy to create new set of tests for new hosts using GUI or HM Script
https://www.ks-soft.net/hostmon.eng/mfr ... #templates

Regards
Alex
Ben
Posts: 27
Joined: Tue Dec 04, 2018 2:15 am

Re: Bulk Change of SNMP community string

Post by Ben »

I previously explained my problem here, our technician aren't allowed on hostmonitor, only RCC.
So when IPs or communty or any parameter changes, we can't always have an admin who has access to hostmonitor server build and run script.

Variables in tests are indeed a way of managing this, I'll give it a look even if that means rebuilding our parameters for all our tests.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Bulk Change of SNMP community string

Post by KS-Soft »

We plan to implement terminal for HMScript so RCC operator will be able to use script commands as well.

BTW: there is Telnet service, it allows to change some parameters (timeout, retries, comments, threshold limits, etc) remotely as well
https://www.ks-soft.net/hostmon.eng/tel ... tm#cmdlist

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Bulk Change of SNMP community string

Post by KS-Soft »

I forgot to say HostMonitor/RCC GUI allow to change timeout and retries for set of selected test items.
Unless you are using some old version.

Regards
Alex
Ben
Posts: 27
Joined: Tue Dec 04, 2018 2:15 am

Re: Bulk Change of SNMP community string

Post by Ben »

Yes indeed timeout and retries only.
Post Reply