blog.paessler.com/how-to-enab…
Installing and configuring the SNMP service on the different Windows client and server versions mostly works the same way.
- For Windows versions older than Windows 8 and Windows Server 2012, it is already installed.
- For Windows 8, Windows 10, Windows Server 2012, Windows Server 2016, and Windows Server 2019 you will have to install the SNMP service first.
- For Windows 10 Version 1809 or later, scroll down to the next paragraph.
What you have to do is to
- open the Control Panel on your Windows machine.
- Open the Programs and Features section
- where you can Turn Windows features on or off.
- On Windows workstations select Simple Network Management Protocol (SNMP) and install it.
After installing the SNMP service, configure it appropriately. So, run
services.msc
as administrator and navigate to the properties of the SNMP service. Choose
Automatic
as startup type to have the service always running, even after turning your computer off and on again.For monitoring purposes, you should also
check all services
on the Agent tab to have all SNMP values available.
Enable services on SNMP agent
Don't forget to adjust security parameters like the community string and the IP/host filter list to your security compliances! For example, add the community name public with READ ONLY rights and accept SNMP packets from at least the address of your monitoring server.
Adjust security parameters in your SNMP settings
That's it! You have successfully configured SNMP on your Windows machine.
Enabling SNMP on Windows 10 Version 1809 and Later
With Windows 10 version 1809, the process of enabling SNMP changed. SNMP is an optional feature as of this Windows 10 version. You can enable it as follows.
- Open the Settings on your Windows machine.
- Click Apps.
- Choose Manage optional features under Apps & features.
- Click Add a feature.
- Select Simple Network Management Protocol (SNMP) from the list.
check it
install net-snmp to windows ,and then :
snmpget -v1 -c public localhost system.sysContact.0
or
snmpget -v2c -c public localhost system.sysContact.0
you should got it :
SNMPv2-MIB::sysContact.0 = STRING: reco