LINUX SQL SERVER

[ Solved 100% Working] SNMP service security tab is missing – Windows Server 2012 R2 – DC

We have to configure the security settings for the SNMP-Service on a Windows Server. But they are missing!

We have to configure the security settings for the SNMP-Service on a Windows Server. But they are missing!

Here are the facts:

  • OS: Windows Server 2012 R2
  • We installed the SNMP feature, that we already configured the service (but we forgot to add another IP under Security tab)
  • We know the issue where you have to restart the SNMP-service after you installed the feature to see the Security tab (so we made already some restarts.)
  • We installed now the DC server role.
  • Now we can not see the Security tab anymore (we don’t know if it has to do something with the installation of the DC role).
  • We really need SNMP for monitoring reasons. (So please don’t advise to use WMI or other things)
  • We used my domain admin when clicking on “SNMP-Service” –> “Properties”
  • What can we do to see the Security tab again? Or is there a possibility to configure the SNMP service via CMD or PowerShell?

  • How to: Set SNMP settings through registry
  • We set up Permitted Managers and Valid Communities.
  • HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\SNMP\Parameters\Permitted Managers
bash code
REG_SZ

Value name: 1

Value data: (IP address of monitoring server)

HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\Services\SNMP\Parameters\Valid Communities

bash code
REG_DWORD

Value Data: 4

Value Name: (community string)

  • The configuration directive you should add to /etc/snmp/snmpd.conf is:

Code:

bash code
agentaddress udp:161
  • What does netstat say about UDP port 161? This will show you if the socket is in use:

Code:

bash code
netstat -lupn | grep :161
  • And what happens if you try to start snmpd manually with:
See also  How 4 Tools Help You Run Windows Programs In Linux

Code:

bash code
/usr/sbin/snmpd -c /etc/snmp/snmpd.conf

About the author

Venkatesan Prabu

Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.

Add Comment

Click here to post a comment

X