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.
Log into the device
Install the SNMP Service
- Open the Control Panel
- Under the Programs section select Turn Windows features on or off
- Enable the tickbox against Simple Network Management Protocol (SNMP) and OK to install
Depending on the Operating System, the SNMP service option may be found under the Features section
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 would suggest choosing 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 elevates command prompt to access the Security tab. Right-click on the Windows Command Processor, choose Run as Administrator then enter services.msc
To ensure the successful retrieval of information from the computer. Check 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.
Server 2008 - due to the architectural changed in Server 2008 it may be necessary to enter the IP address of the server in the Accept SNMP packets from these hosts section as opposed to localhost or 127.0.0.1. (This requirement was resolved from Agent 8.1).
Where the SNMP Service is newly installed on Server 2008 it may be necessary to reboot the machine for the Security tab to become available .