Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 656
  • Last Modified:

Script to change SNMP rights to Read/Write on multilpe servers?

Hi All.  I'm a first timer so be gentle, lol.

We have decided to disable ASR on about 150 Windows production servers (in order to get memory dumps).  I am using Net-SNMP to do the change, instead of going through the bios (painful with 150 servers), but the SNMP rights need to be set to Read/Write.

I am inquiring about if there is a script available that can make this change, to multiple servers, and then an additional script to switch all back to Read Only, after the Net-SNMP change to disable ASR.
0
TruFu1
Asked:
TruFu1
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
>>but the SNMP rights need to be set to Read/Write
check the screenshot please.
is this what you mean to change SNMP service security?
Untitled.jpg
0
 
MidnightOneCommented:
Group policies are your friend.

Create a new GPO called SNMP_Settings.
Under the Computer portion of that GPO, burrow down into the Windows section into networking. You'll find SNMP settings there.

Using the GPO, you can alter the read-only and read-write community strings to your heart's content across all systems.
0
 
TruFu1Author Commented:
I figured gpo is the way to go, since I can see our community string in the "accepted community names" list, but does not show in the registry key, where "public" is showing...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now