How To Set Up SNMP On Windows Server
We have lots of ways to monitor Windows Server these days by using CIM/WMI, PowerShell Remoting and even good ol’ SNMP. SNMP has been around for a long time but it’s still a great way to monitor a Windows Server.
In this snip, we’ll go over how to install the SNMP feature in Windows Server and set up a community string so that our monitoring tool of choice can query it via the SNMP protocol.
Alright so this snip going to take a look at getting the SNMP service installed and set up on a Windows Server. I'm working on Windows Server 2016 here. And about the server manager already open 'cause it this is where we're going to start. We're going to run through the add roles and features wizard. And skip through the introduction and stick with a rule based or feature based installation. And leave the default server, which is the local server selected. Then the SNMP service is not a role so we're going to get through straight to the features. And scroll down for the SNMP service role going to select it is going to ask us. If we want the administrative tools. We're going to say, Yes, so leave that leave that checked. Look at features and then next. And then SNMP getting it installed does not require reboots or was going to install. Once the SNMP service is finished installing we're going to close out of that wizard and then we're going to launch straight into the service manager so in the go back to the start menu. And go through the administrative tools and we're going to look for. Services and we're going to launch that. In services will scroll down to the SNMP Service, which we just installed. Or we will right click on it, and go to the properties option. So set up the security we're going to the security tab and this let's us. Set up the authentication for SNMP, which is pretty important so you will not only want certain individuals to be able to use it. So we're going to add a community string here. And I'm really this read only it's best practice here set a really cool complicated. Random password going to add that add that in the other thing you probably want to do is to leave the default of accept SNMP packets only from these hosts and then you have a list by default. It just has the localhost so the local server. If you're running some kind of monitoring server like what's up gold. Want to add that in there, so I'm going to add in the DNS name of my what's up gold server. And will hit apply. And there, we go Now you ready to use your monitoring server like what's up gold to collect. SNMP data from your server.