September 1st, 2021. Microsoft announced that Windows Server 2022 is generally available. It brings many new features and enhancements, I’d recommend you to evaluate it. If you are coming from the network monitoring world, you are probably asking yourself if you can still install SNMP and monitor the performance of your Windows Server 2022 machines?! The answer is: “Yes, you can“.
STEP 1: Enable SNMP Service
- Open Server Manager and click Add roles and features
- Click Next > Next > Next > Next
- Under Select features select SNMP Service and click Add Features and then click Next
- Click Install and wait until it is finished.
STEP 2: Configure SNMP Service
- Right click on Start Menu > Run > type services.msc to open Services applet and then navigate to installed SNMP Service > Right click > Properties.
- Click on the Security tab to configure community string and ACL.
- Click on Add… under Community to create a community string. In my case, the community string is called prtg
- 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.
- Click Apply and OK and you are done.
Now you can monitor your Windows Server 2022 machines by using SNMP, or SNMP Traps (requires additional configuration). In my case below, I am monitoring several metrics (uptime, CPU load, RAM, HDD usage, network traffic, and DNS service) by using PRTG and SNMP.
What if you need to perform secured network 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.