Install and Configure SNMP in Windows Server 2019

SNMP is a Windows feature for the last 20 years. By default, it is not installed and you will need to do it manually. I´ll show you how to install and configure SNMP and SNMP Traps in Windows Server 2019.

In the monitoring world, SNMP is one of the most used protocols to get insights into metrics on target devices. By default, it is not installed in Windows and Windows Server and we will need to enable it manually. In this article, I´ll show you how to install and configure SNMP and SNMP Traps in Windows Server 2019, but the same procedure applies to Windows Servers.

If you are interested in enabling SNMP in Windows 10 1083 and onwards, please check this article How to install deprecated SNMP in Windows 10 1803 and onwards.

INSTALL SNMP SERVICE

  1. Open Server Manager
  2. Click Add roles and features
  3. Under Before you begin click Next
  4. Under Select installation type click Next
  5. Under Select destination server click Next
  6. Under Select server roles click Next
  7. Under Select features select SNMP Service and click Add Features and then click Next
Select SNMP Service
  1. Under Confirm installation selection click Install
  2. Wait until the installation is finished

CONFIGURE SNMP SERVICE

  1. Open Services applet (click on Start menu and search for services)
  2. Navigate to the SNMP Service, right click and then click Properties
Configure SNMP Service
  1. Optional: Click on Agent and add Contact and Location and select all services
Configure SNMP Agent
  1. Click on Traps and add Community name. In my case it is public.
  2. Under Trap destinations click Add and add your destination server that is collecting traps.
Configure SNMP Traps
  1. Click on Security and then click on Add. Add community name, the default one is public.
Configure SNMP community
  1. Click on Accept SNMP Packets from these hosts
  2. Click on Add and then add your NMS (Network Monitoring Solution) that will collect SNMP Traps. You can delete localhost.
  3. Click Apply and then OK

Thank you for reading this article. In case of any questions, feel free to comment or contact me.

Comments (2):

  1. Martin

    March 24, 2023 at 14:30

    How do you confgiure the SNMP TRAP service ? and where does it store the Trap it recieves ?

    Reply
    • Jasmin Kahriman

      March 28, 2023 at 21:33

      Hi Martin – That’s a good question. You configure SNMP Traps within the SNMP service and collect messages using NMS (Network Monitoring Solution). I will write an article about it. Thanks for stopping by.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Share via
Copy link