Enable the Windows SNMP Service
To retrieve information from a Windows device via SNMP it must be configured to generate SNMP messages and this may be achieved by enabling the SNMP service on the target device. Depending on the configuration of the Operating System on the target device it may be necessary to install the SNMP Service first.
Install the SNMP Service
Windows Server (2022, 2019, 2016)
- Open Server Manager.
- Select Add roles and features > Features.
- Tick the checkbox next to Simple Network Management Protocol (SNMP).
(and optionally SNMP WMI Providers for querying SNMP devices via WMI).
- Click Next > Install.
Windows 11
- Click Start > Settings > System > Optional Features.
- Select the View features button in the Add an optional feature tile.
- Type snmp into the search field.
- Tick the checkbox next to Simple Network Management Protocol (SNMP).
- (and optionally SNMP WMI Providers for querying SNMP devices via WMI).
- Click Next > Install.
Windows 10
- Click Start > Settings > System > Optional Features.
- Select the Add a feature button.
- Type snmp into the search field.
- Tick the checkbox next to Simple Network Management Protocol (SNMP).
- (and optionally SNMP WMI Providers for querying SNMP devices via WMI).
- Click Add.
Enable the SNMP Service
- Open the Services Console (Start, Run (or Search box), services.msc).
- Right-click the SNMP Service and choose Properties from the menu.
- In the General tab choose Automatic as the Startup Type.
- Navigate to the Security tab.
- Enable Send authentication trap this will generate an alert if authentication fails
- Click Add under Accepted community names.
- Choose the Community rights (essentially the permissions level) from the drop-down and enter a Community Name (this functions like a password to authenticate access for any SNMP queries) in the relevant field. For example, Community Rights: Read Only Community Name: public.
- Add once configured
- You can then specify whether to Accept SNMP packets from any host or only Accept SNMP packets from these host. Click Add to enter a Host name, IP or IPX address, then Add again to save.
- OK out of the dialog to save and apply
As a security precaution we recommend you choose Accept SNMP packets from these hosts and enter the information for devices that will be running queries against this computer.
Depending on the configuration of the Operating System. It may be necessary to run the services.msc command from an elevated command prompt to access the Security tab. Right-click the Windows Command Processor, choose Run as Administrator then enter services.msc
To ensure the successful retrieval of information from the computer, ensure the HostName/IP Address and Community name used for the SNMP service corresponds to that entered in the monitoring system. For example in the SNMP Advanced Settings section of the SNMP Check, the SNMP Network Device section of the Bandwidth Monitoring Check and the SNMP Community String section for Network Discovery.