Install and configure SNMP in Windows

In order to configure a Windows Server for Monitoring (Discovery / Inventory and Alert Processing), first we have to install the SNMP service.

By default, it is turned off or not installed on most operating systems.

Installation Instructions for the Windows SNMP Service

  1. Open Server Manager
  2. Click on Add Roles and Features
    2019-04-19 13_47_02-Window
  3. Click Next (this will be a summary page)
  4. Click Next (by default, Role-based or feature-based installation
  5. Click Next (by default, it will select the server you are running the wizard on)
    2019-04-19 13_50_16-Window
  6. Click next on the Roles wizard (we are not installing a role)
  7.  Under Features, expand “Remote Server Administration tools  > Feature Administration Tools ” and select “SNMP Tools” then click Next
    2019-04-19 13_53_33-Window
  8. Click Install on the “Confirm installation selections “
  9. Click Close on the “Installation Progress”

The installation will take a couple of minutes to complete. After this, the SNMP service will be visible on the Services console.

2019-04-19 14_00_27-Window

Alternatively, you can also install the SNMP Service using Windows PowerShell:

Get-WindowsFeature SNMP-Service


Configuration instructions for the Windows SNMP Service

To configure the Windows SNMP service for SNMPv1/v2, there are two main tabs we will focus on. These are “Security” and “Traps”.

Security is to configure the SNMP agent, while, as the name states, Traps is to configure the SNMP destination for SNMP generated traps.

  1. Start by configuring the agent. First, click on Security and enter the community string under “Accepted Community Names”. In most instances, a “Read-Only” rights configuration will suffice.
  2. If this will be your host using for monitoring, select  “Accept SNMP packets from any  host”. Otherwise, specify which hosts to accept SNMP packets from.
    2019-04-19 14_15_34-Window
  3. Next, is configuring the trap destination. This configuration is done under Traps.  You will need to enter the community string and a destination IP (or DNS name) to where any generated alerts will be sent to.
    2019-04-19 14_18_10-Window

Once the above steps are completed, click OK. Then, right click on the SNMP service and click restart for settings to take effect.

At this point, you should be able to go to your Management Station (Monitoring Utility or Software) and inventory and monitor this Windows Server by providing the SNMP agent community String.