Install SNMP on Windows Server 2016
Option 1: Using Server Manager (GUI)
- Open Server Manager.
- Navigate to: Manage > Add Roles and Features
- Proceed through the wizard:
- Select Role-based or feature-based installation.
- Choose the appropriate server.
- Skip the Server Roles section.
- In the Features section:
- Check SNMP Service.
- Check SNMP WMI Provider
- Confirm and install:
- Click Next, then Install.
- Wait for the installation to complete.
Option 2: Using PowerShell
- Open PowerShell as Administrator.
- Run the installation command:
Install-WindowsFeature SNMP-Service -IncludeManagementTools
- Verify installation:
Get-WindowsFeature SNMP-Service
Configure SNMP Service
- Open Services:
- Press Win + R, type services.msc, and press Enter.
- Locate SNMP Service:
- Find and double-click SNMP Service.
- Set Startup Type:
- In the General tab, set Startup type to Automatic.
- Click Start if the service is not running.
- Configure Agent Information:
- Go to the Agent tab.
- Select the services you want to monitor (e.g., Physical, Applications, Internet).
- Set Community String and Permissions:
- Navigate to the Security tab.
- Under Accepted community names, click Add.
- Enter a community string (e.g., public).
- Set the permission level (e.g., READ ONLY).
- Under Accept SNMP packets from these hosts, click Add.
- Enter the IP address of your Auvik Collector
- Click Apply and then OK to save the settings.
Verify SNMP Functionality
- Using SNMPWalk:
- Open Command Prompt or PowerShell.
- Run
snmpwalk -v2c -c public localhost
- Replace public with your configured community string if different.
- You should see a list of SNMP OIDs and their values if SNMP is functioning correctly.
Note: Ensure that any firewall settings allow SNMP traffic on UDP ports 161 and 162.