Enabling and configuring SNMP on Windows

Exclusive offer: get 50% off this eBook here
SolarWinds Server & Application Monitor: Deployment and Administration

SolarWinds Server & Application Monitor: Deployment and Administration — Save 50%

An intuitive guide to implementing and calibrating SolarWinds Server & Application Monitor with minimum hassle with this book and ebook

$21.99    $11.00
by Justin M. Brant | November 2013 | Networking & Telephony Open Source

This article by Justin M. Brant, the author of SolarWinds Server & Application Monitor: Deployment and Administration, covers enabling and configuring SNMP on Windows.

(For more resources related to this topic, see here.)

Procedures in this article are not required pre-deployment, as it is possible after deployment to populate SolarWinds SAM with nodes; however, it is recommended. Even after deployment, you should still enable and configure advanced monitoring services on your vital nodes.

SolarWinds SAM uses three types of protocols to poll management data:

  • Simple Network Management Protocol (SNMP): This is the most common network management service protocol. To utilize it, SNMP must be enabled and an SNMP community string must be assigned on the server, device, or application. The community string is essentially a password that is sent between a node and SolarWinds SAM. Once the community string is set and assigned, the node is permitted to expose management data to SolarWinds SAM, in the form of variables. Currently, there are three versions of SNMP: v1, v2c, and v3.

    SolarWinds SAM uses SNMPv2c by default. To poll using SNMPv1, you must disable SNMPv2c on the device. Similarly, to poll using SNMPv3, you must configure your devices and SolarWinds SAM accordingly.

  • Windows Management Instrumentation (WMI): This has added functionality by incorporating Windows specifi c communications and security features. WMI comes preinstalled on Windows by default but is not automatically enabled and confi gured. WMI is not exclusive to Windows server platforms; it comes installed on all modern Microsoft operating systems, and can also be used to poll desktop operating systems, such as Windows 7.
  • Internet Control Message Protocol (ICMP): This is the most basic of the three; it simply sends echo requests (pings) to a server or device for status, response time, and packet loss. SolarWinds SAM uses ICMP in conjunction with SNMP and WMI. Nodes can be confi gured to poll with ICMP exclusively, but you miss out on CPU, memory, and volume data. Some devices can only be polled with ICMP, although in most instances you will rarely use ICMP exclusively.

    Trying to decide between SNMP and WMI?

    SNMP is more standardized and provides data that you may not be able to poll with WMI, such as interface information. In addition, polling a single WMI-enabled node uses roughly five times the resources required to poll the same node with SNMP.

This article will explain how to prepare for SolarWinds SAM deployment, by enabling and configuring network management services and protocols on: Windows servers.

In this article we will reference service accounts. A service account is an account created to handoff credentials to SolarWinds SAM. Service accounts are a best practice primarily for security reasons, but also to ensure that user accounts do not become locked out.

Enabling and configuring SNMP on Windows

Procedures listed in this article will explain how to enable SNMP and then assign a community string, on Windows Server 2008 R2.

All Windows server-related procedures in this book are performed on Windows Server 2008 R2. Procedures vary slightly in other supported versions.

Installing an SNMP service on Windows

This procedure explains how to install the SNMP service on Windows Server 2008 R2.

  1. Log in to a Windows server.
  2. Navigate to Start Menu | Control Panel | Administrative Tools | Server Manager.

    In order to see Administrative Tools in the Control Panel, you may need to select View by: Small Icons or Large Icons.

  3. Select Features and click on Add Features.

  4. Check SNMP Services, then click on Next and Install.
  5. Click on Close.

Assigning an SNMP community string on Windows

This procedure explains how to assign a community string on Windows 2008 R2, and ensure that the SNMP service is configured to run automatically on start up.

  1. Log in to a Windows server.
  2. Navigate to Start Menu | Control Panel | Administrative Tools | Services.
  3. Double-click on SNMP Service.
  4. On the General tab, select Automatic under Startup type.
  5. Select the Agent tab and ensure Physical, Applications, Internet, and End-to-end are all checked under the Service area.
  6. Optionally, enter a Contact person and system Location.
  7. Select the Security tab and click on the Add button under Accepted community names.
  8. Enter a Community Name and click on the Add button. For example, we used S4MS3rv3r. We recommend using something secure, as this is a password.

    Community String and Community Name mean the same thing.

     

    READ ONLY community rights will normally suffice. A detailed explanation of community rights can be found on the author's blog: http://justinmbrant.blogspot.com/

  9. Next, tick the Accept SNMP packets from these hosts radio button.
  10. Click on the Add button underneath the radio buttons and add the IP of the server you have designated as the SolarWinds SAM host.
  11. Once you complete these steps, the SNMP Service Properties Security tab should look something like the following screenshot. Notice that we used 192.168.1.3, as that is the IP of the server where we plan to deploy SolarWinds SAM.

Summary

In this article, we learned different types of protocols to poll management data. We also learned how to install SNMP as well as assign SNMP community string on Windows.

Resources for Article:


Further resources on this subject:


SolarWinds Server & Application Monitor: Deployment and Administration An intuitive guide to implementing and calibrating SolarWinds Server & Application Monitor with minimum hassle with this book and ebook
Published: November 2013
eBook Price: $21.99
Book Price: $36.99
See more
Select your format and quantity:

About the Author :


Justin M. Brant

Justin M. Brant has over 15 years of IT industry experience. As an adolescent, he was mentored by his grandfather Edgar J. Reynolds, a retired Naval Oceans Systems Center (NOSC) Electronic Engineer, who trained him on systems such as Apple II, Macintosh Plus, and Windows 2.x.

His grandfather's guidance led to a position at Datel Systems, where he began his career in the IT industry. Shortly thereafter, Justin and his brother Gregory created Blue Sun Design LLC, a consulting group focused on the Information Technology Infrastructure Library (ITIL) Framework, designed to support small to medium-sized business networks. He later joined the Biomedical Research Institute of America Institutional Review Board (BioMed IRB) as the Network Administrator, where he maintained the IT infrastructure consistent with FDA regulations for electronic records and patient confidentiality.

Presently, Justin is the Technical Support Manager at Integrated Default Solutions (IDSolutions), where he manages a team of five help desk technicians supporting 1,300 enterprise users nationwide. His position is multifaceted, involving network support, strategy, design, transition, and operation. His primary responsibilities include refining processes and security measures through developing and maintaining the IDSolutions Standard Operating Procedure (SOP) manual. In addition, he is the in-house specialist for the ShoreTel PBX & ECC VoIP system.

Books From Packt


 

Cacti 0.8 Network Monitoring
Cacti 0.8 Network Monitoring

Icinga Network Monitoring
Icinga Network Monitoring

Python Network Programming Cookbook
Python Network Programming Cookbook

Nmap 6: Network Exploration and Security Auditing Cookbook
Nmap 6: Network Exploration and Security Auditing Cookbook

Zenoss Core 3.x Network and System Monitoring
Zenoss Core 3.x Network and System Monitoring

Zabbix 1.8 Network Monitoring
Zabbix 1.8 Network Monitoring

Zenoss Core Network and System Monitoring
Zenoss Core Network and System Monitoring

SolarWinds Orion Network Performance Monitor
SolarWinds Orion Network Performance Monitor


No votes yet

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
7
A
e
S
v
y
Enter the code without spaces and pay attention to upper/lower case.
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software