Can you still monitor your Windows 11 with SNMP

Microsoft announced the general availability of Windows 11 on the 5th of October. If you are coming from the network monitoring world, you are probably asking yourself if you can still use SNMP to monitor the performance of your Windows 11 machines?! I got you covered in this article.

October 5th, 2021. Windows 11 is now generally available. It delivers modern and fresh design, it utilizes the power of the cloud and Microsoft 365, Microsoft Teams comes integrated and delivers the best Windows ever for gaming. If you are coming from the network monitoring world, you are probably asking yourself if you can still monitor your Windows 11 machines using SNMP. The short answer is: “Yes, you can”. But, how? Can you still install it via Control Panel? Does it include SNMP v3?

For sake of sharing, a new Windows 11 layout

Microsoft deprecated SNMP from Control Panel > Add Program and Features applet due to security reasons. In other words, you can´t install it anymore using GUI, but Windows Terminal. In order to install the SNMP service, follow the instructions below.

  1. Right click on Start Menu and select Windows Terminal (Admin). It was called PowerShell in Windows 10.
  2. Type the following command and press Enter.
Add-WindowsCapability -Online -Name “SNMP.Client~~~~0.0.1.0“
Enable SNMP via PowerShell
  1. Right click on Start Menu > Run > type services.msc to open Services applet and then navigate to installed SNMP Service > Right click > Properties.
  2. Click on the Security tab to configure community string and ACL.
  3. Click on Add… under Community to create a community string. In my case, the community string is called prtg.
  4. Select Accept SNMP packets from these hosts and click Add… to add the IP of your NMS (Network Monitoring Solution). In my case, the IP is 192.168.88.245 which is my PRTG Core Server. This means Windows machine will only accept SNMP communication coming and going to my NMS.
Configure SNMP
  1. Click Apply and OK and you are done.
THE MONITORING PART

SNMP is ready and you can monitor your Windows 11 machine by using SNMP, or SNMP Traps (requires additional configuration). In the case below, I do monitor different metrics (uptime, CPU load, RAM, HDD usage, network traffic, and DNS service) on my Windows 11 machine using PRTG.

Monitoring Windows 11 with PRTG and SNMP
What if you need to perform secured Windows monitoring using SNMPv3?

Microsoft doesn’t natively support SNMP v3 (encryption, authentication). As it isn’t possible to achieve it due to the lack of native SNMP v3 functionalities in Windows and Windows Server, the alternative is to install and use third-party SNMP v3 agents. I got you covered with an article that explains all the steps How to achieve SNMPv3 compliance in Windows and Windows Server.

If you think this article is useful and it can be useful to other IT folks, please feel free to share it via the social media buttons below. In case of any questions, feel free to comment or contact me.

Comments (4):

  1. Christian

    September 9, 2021 at 07:53

    How can I install the SNMP service on devices wich have no internett access (e.g. in manufacturing environment?

    Reply
    • Jasmin Kahriman

      September 9, 2021 at 19:12

      Hi Christian – are you referring to Windows machines or devices in general?

      Reply
  2. Chris P

    September 10, 2021 at 14:29

    Given that Microsoft is clearly not interested in native support of SNMPv3 and is moving away from WMI in favour of the PSRemoting based CIM PowerShell cmdlets, is there native support in PRTG for using those more modern options without building custom PowerShell sensors? One of the key features of PRTG that I find particularly useful is that it’s agentless, if we have to install an agent anyway that advantage goes away.

    Reply
    • Jasmin Kahriman

      September 22, 2021 at 20:02

      Hi, Chris. Currently, that is only possible to achieve using PowerShell sensors.

      Reply

Leave a Reply

Your email address will not be published.

Share via
Copy link
Powered by Social Snap