Help Admin Adding a monitor Configuring SNMP agents on Windows servers

Configuring SNMP agents on different Windows servers

Monitor your Windows servers agentless, with the support of SNMP. Simply install and configure SNMP agents on your servers, install an On-Premise Poller, and your server for monitoring. 

Synopsis

Installing SNMP agents on Windows 10 1803 or later

The SNMP service is not listed in the Windows features list in the Control Panel on Windows 10. Install the SNMP service directly from Microsoft servers using any of the three steps below:

  • Optional Features graphical interface
  • PowerShell
  • DISM

Installing using the Optional Features graphical interface

  1. Go to the SettingsAppsApps & FeaturesManage Optional FeatureAdd Feature
  2. Select the following from the list: Simple Network Management Protocol (SNMP) and WMI SNMP Provider (to get all SNMP service configuration tabs).

Installing using PowerShell

  1. Navigate to StartWindows PowerShell folderWindows PowerShell.
  2. Run the following command:
    Add-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0"

Installing using DISM

  1. You can also use the deployment image servicing and management (DISM) tool. Go to StartCommand Prompt.
  2. Right-click the top result, and select Run as administrator.
  3. Execute the following command, and press Enter:
    DISM /online /add-capability /capabilityname:SNMP.Client~~~~0.0.1.0

Configuring SNMP agents on Windows 10 1803 or later

  1. Navigate to StartSettingsControl Panel.
  2. Under Administrative Tools, click Services.
  3. In the details pane, right-click SNMP Service and select Properties. If stopped, start the service by clicking the Start button, and change the Startup type to Automatic.
  4. In the Security tab, under Accepted community names, click Add.
  5. Under Community Rights, select a permission level for this host to process SNMP requests from the selected community.
  6. In Community Name, type a case-sensitive community name, and then click Add.
  7. Choose whether or not to accept SNMP packets from a host:
    • To accept SNMP requests from any host on the network, regardless of identity, click Accept SNMP packets from any host.
    • To limit accepting SNMP packets, click Accept SNMP packets from these hosts, and click Add. Then, type the appropriate host name, IP, or IPX address, and then click Add.
  8. Click Apply.

Configuring SNMP agents on Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows 8, Windows 8.1, Windows 10, Windows Server 2012, Windows Server 2012 R2, or Windows Server 2016 or later

  1. Go to the Control Panel. Click on ProgramsPrograms and Features, and then click on Turn Windows features on or off. If you’re prompted with User Account Control dialog box, click Continue or Yes (varies with versions).
  2. In Turn Windows features on or off, check the box next to Simple Network Management Protocol (SNMP) or SNMP feature (again, varies with versions) and click OK
  3. After this, follow the steps given above for Configuring SNMP agents on Windows 10 1803 or later.

Configuring SNMP agents on Windows NT systems

  1. Navigate to StartSettingsControl Panel.
  2. Under Administrative Tools, click Services.
  3. In the Details pane, right-click SNMP Service, and select Properties.
  4. Under Accepted community names, click Add.
  5. In the Community Names box, type the community name to authenticate SNMP requests.
  6. Click Add to move the community name to the list of Accepted Community Names.
  7. Repeat steps 6 and 7 to add more community names.
  8. Choose whether to accept SNMP packets from any host or only from specified hosts:
    • Click Accept SNMP Packets From Any Host, if you wish to accept SNMP packets from any host with no IP restriction.
    • Click Only Accept SNMP Packets From These Hosts if you wish accept SNMP packets only from specific hosts. To enter the desired hosts click Add; type the name or address of the host in IP Host or IPX Address box, and then click Add.
  9. Repeat step 9 to add more hosts.
  10. In the Agent tab, specify information like comments about the user, location, and services.
  11. Click OK to apply the changes.

The SNMP agent running on Windows NT does not respond to Host Resource Data by default. To support this you may need Windows NT service pack 6 or above. Check your pack details before following the steps below.
  
Note: Windows NT 4.0 server does not come with a Host Resource MIB.

If you are running Windows NT Service Pack 6a and use Windows 2000 server, then follow these steps:

  1. Copy the %SystemRoot%\System32\hostmib.dll file from the Windows 2000 server to %SystemRoot%\System32folder on your Windows NT 4.0 Server.
  2. Run regedit or regedt32, and add the following keys and values:
    • Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HostMIB\CurrentVersion
    • Value Name: Pathname
    • Type: REG_SZ
    • Data: C:\WinNT\system32\hostmib.dll

    • Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents
    • Value Name: 3
    • Type: REG_SZ
    • Data: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HostMIB\CurrentVersion
  3. For registering DLL using the Microsoft REGSVR utility, follow the steps below:
    • Copy the file to C:\Windows\SysWOW64\ (for 32bit) or C:\Windows\System32\ (for 64bit)
    • To complete this step, you should run Command Prompt as an administrator. 
    • Paste the following command into the Command Line window that opens, and press Enter.
      %windir%\System32\regsvr32.exe hostmib.dll (for 32 bit)
      %windir%\SysWoW64\regsvr32.exe hostmib.dll (for 64 bit)
  4. Restart your Windows NT box.

Configuring SNMP agent on Windows XP, Windows 2000, and Windows 2003 systems

  1. Navigate to StartSettingsControl Panel.
  2. Under Administrative Tools, click Services.
  3. In the Details pane, right-click SNMP Service, and select Properties.
  4. Under Accepted community names, click Add.
  5. Under Community Rights, select a permission level for this host to process SNMP requests from the selected community.
  6. In Community Name, type a case-sensitive community name, and then click Add.
  7. Choose whether or not to accept SNMP packets from a host:
    • To accept SNMP requests from any host on the network, regardless of identity, click Accept SNMP packets from any host.
    • To limit accepting SNMP packets, click Accept SNMP packets from these hosts, and click Add. Then, type the appropriate host name, IP, or IPX address, and then click Add.
  8. Click Apply.

Testing SNMP on Windows 

Test the SNMP reachability using MIB browser.

Related articles

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Admin Adding a monitor Configuring SNMP agents on Windows servers