Server Management - Systems Insight Manager
1820483 Members
2414 Online
109624 Solutions
New Discussion юеВ

Configure SNMP settings for Windows servers via scripts

 
Tom Verhein
New Member

Configure SNMP settings for Windows servers via scripts

Hello,

We have many Windows 2000 & 2003 servers. We would like to configure the HP Management Agent SNMP settings with a VBscript or Bat file instead of the GUI. 1. Is there any documentation covering this topic, and if so, where? 2. Are there any example scripts which perform this function and if so, where can I find them? 3.Is there documentation which discusses the Windows registry keys which are affected and if so, where can I find it?

Thanks in advance for your help!
3 REPLIES 3
kyle bassman_1
Occasional Advisor

Re: Configure SNMP settings for Windows servers via scripts

I also would like some information on this topic if anyone has any. Thanks in advance.
deCook
New Member

Re: Configure SNMP settings for Windows servers via scripts

Please correct me if I'm wrong, but don't the management agents pick up SNMP from the system settings?
I have setup a batch file that uses the resource kit util REG.EXE which updates a list of servers fed to it.

Registry keys to update:
REG ADD \\%1\HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\PermittedManagers /v 1 /t REG_SZ /d localhost /f
REG ADD \\%1\HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration\public /v 1 /t REG_SZ /d localhost /f
As you add other hosts to the list increment the number up.

Re: Configure SNMP settings for Windows servers via scripts

Regedit as already mentioned or Replicate agents settings from within SIM.