You are here: Home / Information Centre / Zenoss / Windows SNMP

Windows SNMP

Setting up SNMP on Windows

Zenoss Core uses SNMP to model attributes about a device (CPU, memory, disk, network, etc.).  We need to make sure the Windows SNMP agent/service is properly installed and configured before we can effectively gather machine statistics with Zenoss.  We will do this by binding DeviceClass /server/Windows to the machine on discovery (or later once it's registered)

Install SNMP Services

We will first install the SNMP service. Run the following commands from an elevated PowerShell prompt:

PS> Import-Module -Name ServerManager

PS> Add-WindowsFeature -Name SNMP-Services

Verify the SNMP installation. Run the following command from an elevated PowerShell prompt:

PS> Get-WindowsFeature -Name snmp*

Display Name                     Name

-------------------                      ----

[X] SNMP Services             SNMP-Services

     [X] SNMP Service           SNMP-Service

     [X] SNMP WMI Provider SNMP-WMI-Provider

 

Configure the SNMP Service

We will now configure the SNMP service to link to our Zenoss server. Since we still have a PowerShell session open, enter the following command to open the Services MMC:

PS> services.msc

  1. Double-click SNMP Service to open the properties window.
  2. Select the Agent tab.
  3. Enter your information in the Contact and Location fields.
  4. Enable the Physical, Applications, End-to-end and optionally the Internet service-based options.
  5. Click the Apply button.

 

  1. Select the Security tab.
  2. Add your Community Name and the Community rights. The Community Name will need to match what has been configured on the Zenoss server.
  3. Add the Zenoss server hostname (or IP address) to the Accept SNMP packets from these hosts list.
  4. Click the Apply button, then click the OK button to close the window.

 

Install SNMP Informant

The base Windows SNMP agent does not return information about the host’s CPU, memory, or file system. The installation of the free SNMP Informant extension agent will “beef up” the native agent by exposing these essential components. Browse to http://www.snmp-informant.com and download the free SNMP Informant-STD package. Unzip the package and step thru the standard GUI Wizard-based install. Restart the SNMP service to establish the changes. Run the following command from an elevated PowerShell prompt:

PS> Restart-Service -Name snmp

Document Actions

Distributions
To see exactly what is included in BastionLinux™, visit our online RPMDistro Builder.
Buy Now
Bastion CD
Subscribe Now
and get BastionLinux™ ...
Sponsored Links