So by now, you have gone though the process of installing the Windows SNMP Service but when trying to configure, you realize that there are missing tabs!
This is a relatively simple but obnoxious change that seems to have changed from previous Windows versions and 2016.
To fix this, simply run the following command from a Windows Command prompt:
> Dism /online /enable-feature /featurename:Server-RSAT-SNMP /ALL
This will install the complete features for the SNMP service and in the end will give you the familiar looking screen with all the tabs.
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
- Open Server Manager
- Click on Add Roles and Features
- Click Next (this will be a summary page)
- Click Next (by default, Role-based or feature-based installation
- Click Next (by default, it will select the server you are running the wizard on)
- Click next on the Roles wizard (we are not installing a role)
- Under Features, expand “Remote Server Administration tools > Feature Administration Tools ” and select “SNMP Tools” then click Next
- Click Install on the “Confirm installation selections “
- 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.
Alternatively, you can also install the SNMP Service using Windows PowerShell:
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.
- 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.
- 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.
- 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.
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.
The Simple Network Management Protocol (SNMP for short) has two aspects.
One, is as an agent, which allows the device that is running SNMP to be discovered and inventoried by a Monitoring Agent. (Port 161)
The second, allows to send traps to a Monitoring Agent via port 162.
For our purposes, we won’t go into all the specifics of SNMP, just that it can be used by a Monitoring Software for discovery/ inventory and alert processing. More specifics can be found here:
That being said, here are some pieces of how SNMP can be leveraged in multi-operating system environments: