相关文章推荐
内向的课本  ·  python - Convert a ...·  2 年前    · 
犯傻的韭菜  ·  【MAC版】Android ADB ...·  2 年前    · 
高大的骆驼  ·  用户对问题“Java ...·  3 年前    · 
害羞的小熊猫  ·  SQL ...·  3 年前    · 
  • Network Printer Management
  • HP Printer Monitoring Software
  • Canon Printer Monitoring Software
  • Network Device Discovery
  • Cisco Monitoring
  • Cisco Meraki Monitoring
  • Cisco ACI monitoring
  • Cisco UCS Monitoring
  • Cisco Port Monitor
  • Cisco Switch Monitoring
  • IBM monitoring
  • Syslog Monitoring
  • IPMI Monitoring
  • SNMP Monitoring Software
  • SNMP Trap Monitoring
  • 3Com Switch Port Monitoring
  • Fortigate Performance Monitoring
  • Juniper Network Monitoring
  • NOC Monitoring
  • Network Performance Test
  • Network Link Monitoring
  • Server & Virtualization
  • Server Monitoring
  • Server Uptime Monitoring
  • Windows Server Monitoring
  • Server Health Monitor
  • Server Log Management
  • Systems Management
  • Hyper-V Management Tools
  • Linux Server Monitoring
  • VMware Monitoring
  • ESX Host Monitoring
  • Server Virtualization
  • Virtual Machine (VM) Monitoring
  • Virtual Network Management
  • VMware ESXi Monitoring Tool
  • vSphere performance monitoring
  • Hyper-V Monitoring
  • Hyper-V Performance Monitoring
  • Citrix XenServer Monitoring
  • Citrix Monitoring
  • Nutanix monitoring
  • Hyperconverged Infrastructure Monitoring
  • Virtualization Monitoring Dashboard
  • Operating System (OS) Monitoring
  • Windows Network Monitor
  • Microsoft Network Monitoring
  • Linux Network Monitor
  • Dell Server Monitoring
  • HP Server Monitoring
  • Event Log Monitoring
  • Exchange Monitoring
  • File/ Folder Monitoring
  • FTP Monitoring
  • Windows Service Monitoring
  • Service Monitoring
  • Process Monitoring
  • Network Visualization
  • Network Mapping
  • Network Planning
  • Network Path Analysis
  • Network Diagram Software
  • Grouping Network Elements
  • Custom Network Maps
  • Network Monitoring Dashboards
  • Network Discovery Tool
  • Network Topology
  • Network Topology Software
  • Network Visualization Definition
  • Network Visualization
  • Network Topology Mapper
  • Traceroute Tool
  • Network Fault Management
  • Network Fault Management
  • Network Fault Monitoring
  • Network Monitoring Alerts
  • Root Cause Analysis for Network Faults
  • Network Automation
  • Troubleshooting Network Issues
  • IT Workflow Automation
  • Network Troubleshooting Tools
  • Service Level
    Management Dashboards
  • Intent based Networking (IBN)
  • Data Center Management
  • Data Center Monitoring
  • Data Center Management
  • Data Center Networking
  • 3D Datacenter Floor
  • Storage Management
  • SAN Monitoring
  • Storage Monitoring
  • Storage Raid Management
  • Tape Library Management
  • Storage Monitoring Dashboard
  • Storage Capacity Forecasting
  • Fabric Switch Management
  • NetApp Monitoring
  • Dell EMC Storage Monitoring
  • IBM Storage Monitoring
  • HPE Storage Monitoring
  • Reports
  • Scheduled Reports
  • Network Performance Reporting
  • Business Snapshot Based Reports
  • Custom Reports
  • Multi-site & Remote Monitoring
  • Enterprise Monitoring Tools
  • Distributed Network Monitoring
  • Enterprise Network Monitoring
  • Smart Upgrade
  • Remote Network Monitoring
  • OpManager MSP
  • Integrations and Add-ons
  • Add-ons
  • Network Traffic Analysis
  • Network Configuration Management
  • Firewall Log Management
  • IP Address Management
  • Switch Port Mapper
  • Applications Monitoring
  • Integrations
  • ServiceDesk Plus Integration
  • ServiceDesk Plus Cloud Integration
  • ServiceDesk Plus MSP Integration
  • ServiceNow Integration
  • Jira Service Management Integration
  • Slack Integration
  • Webhook Integration
  • REST API
  • Integration with Analytics Plus
  • Mobile Application
  • Monitor IT on the move
  • Network Monitoring Basics
  • Network Monitoring
  • Network Resilience
  • MTBF-MTTF-MTTR
  • Raid configurations
  • HDD-VS-SSD
  • Software Defined Data Center
  • Troubleshoot Wifi Issues
  • Storage Pools and Luns
  • Bare Metal Hypervisor
  • Application Delivery Controller
  • Network Monitoring Metrics
  • SLA Monitoring
  • Disk Array
  • Challenges of Network Monitoring
  • Network Software
  • Network Monitor
  • Network Management Software
  • Network Management Challenges
  • Network Management System
  • Network Performance Management
  • Network Incident Management
  • Network Administration
  • Cisco Management
  • Network Monitoring Tools
  • Real-time Network Monitoring
  • Server Management
  • Server Performance Management
  • Virtual Server Management
  • Agentless Network Monitoring
  • Wireless network solutions
  • Disk Space Monitoring Challenges
  • Windows Service Monitoring Challenges
  • Network Map
  • Virtualization
  • Virtualization Best Practices
  • Virtualization Challenges
  • Hyper-V Performance Monitoring Challenges
  • Wi-Fi Management Best Practices
  • Network protocols
  • Network Routing
  • Layer 2 Protocols
  • Troubleshooting Network Latency
  • Virtualization Sprawl
  • Basics of Network Diagrams
  • Network Diagrams
  • Network Mapping Challenges
  • Network Optimization
  • Switching Loops
  • Route Flapping
  • VXLAN
  • Troubleshooting VLANs
  • SD-WAN
  • Best Network Monitor
  • Best Free Network Monitoring Software
  • OpManager Alternatives
  • Solarwinds Alternative
  • PRTG Alternative
  • Zabbix Alternative
  • Whatsup Gold Alternative
  • Nagios XI Alternative
  • Spiceworks Alternative
  • Network Access Control
  • Customizable Role-based Access Control
  • SAML Authentication

    What is SNMP?

    Simple Network Management Protocol (SNMP) is an application–layer protocol defined by the Internet Architecture Board (IAB) in RFC1157 for exchanging management information between network devices. It is a part of Transmission Control Protocol⁄Internet Protocol (TCP⁄IP) protocol suite.

    SNMP is one of the widely accepted network protocols that manages and monitors network elements. Most of the professional–grade network elements come with bundled SNMP agent. These agents have to be enabled and configured to communicate with the network monitoring tools or network management system (NMS).

    SNMP tutorial

    This tutorial is an effort to explain in brief about

  • What are the basic SNMP components and their functionalities?
  • SNMP basic commands
  • How a typical SNMP communication happens?
  • SNMP versions (SNMP v1, v2 and v3)
  • SNMP basic components and their functionalities

    SNMP consists of
  • SNMP Manager
  • Managed devices
  • SNMP agent
  • Management Information Database Otherwise called as Management Information Base (MIB)
  • SNMP Manager:

    A manager or management system is a separate entity that is responsible to communicate with the SNMP agent implemented network devices. This is typically a computer that is used to run one or more network management systems.

    SNMP Manager’s key functions
  • Queries agents
  • Gets responses from agents
  • Sets variables in agents
  • Acknowledges asynchronous events from agents
  • Managed Devices:

    A managed device or the network element is a part of the network that requires some form of monitoring and management e.g. routers, switches, servers, workstations, printers, UPSs, etc...

    SNMP Agent:

    The agent is a program that is packaged within the network element. Enabling the agent allows it to collect the management information database from the device locally and makes it available to the SNMP manager, when it is queried for. These agents could be standard (e.g. Net-SNMP) or specific to a vendor (e.g. HP insight agent)

    SNMP agent’s key functions
  • Collects management information about its local environment
  • Stores and retrieves management information as defined in the MIB.
  • Signals an event to the manager.
  • Acts as a proxy for some non–SNMP manageable network node.
  • Basic SNMP Communication Diagram

    Management Information database or Management Information Base (MIB)

    Every SNMP agent maintains an information database describing the managed device parameters. The SNMP manager uses this database to request the agent for specific information and further translates the information as needed for the Network Management System (NMS). This commonly shared database between the Agent and the Manager is called Management Information Base (MIB).

    Typically these MIB contains standard set of statistical and control values defined for hardware nodes on a network. SNMP also allows the extension of these standard values with values specific to a particular agent through the use of private MIBs.

    In short, MIB files are the set of questions that a SNMP Manager can ask the agent. Agent collects these data locally and stores it, as defined in the MIB. So, the SNMP Manager should be aware of these standard and private questions for every type of agent.

    SNMP MIB Browser and SNMP Walk Tool

    ManageEngine's Suite of Free Tools includes a SNMP MIB Browser which helps to Load/unload MIBs and fetch MIB data of SNMP(v1, v2c, v3) agents. SNMP MIB Browser is a complete tool for monitoring SNMP enabled devices and servers. You can load, view multiple MIB modules and perform GET, GETNEXT and SET SNMP operations. This SNMP monitoring software is easy to use and allows you to view, configure and parse SNMP traps. You can also perform SNMP operations from Windows and Linux devices.

    MIB structure and Object Identifier (Object ID or OID)

    Management Information Base (MIB) is a collection of Information for managing network element. The MIBs comprises of managed objects identified by the name Object Identifier (Object ID or OID).

    Each Identifier is unique and denotes specific characteristics of a managed device. When queried for, the return value of each identifier could be different e.g. Text, Number, Counter, etc...

    There are two types of Managed Object or Object ID: Scalar and Tabular. They could be better understandable with an example

    Scalar: Device’s vendor name, the result can be only one. (As definition says: "Scalar Object define a single object instance")

    Tabular: CPU utilization of a Quad Processor, this would give me a result for each CPU separately, means there will be 4 results for that particular Object ID. (As definition says: "Tabular object defines multiple related object instance that are grouped together in MIB tables")

    Every Object ID is organized hierarchically in MIB. The MIB hierarchy can be represented in a tree structure with individual variable identifier.

    A typical object ID will be a dotted list of integers. For example, the OID in RFC1213 for "sysDescr" is .1.3.6.1.2.1.1.1

    MIB Tree Diagram

    Basic commands of SNMP

    The simplicity in information exchange has made the SNMP as widely accepted protocol. The main reason being concise set of commands, here are they listed below:

  • GET: The GET operation is a request sent by the manager to the managed device. It is performed to retrieve one or more values from the managed device.
  • GET NEXT: This operation is similar to the GET. The significant difference is that the GET NEXT operation retrieves the value of the next OID in the MIB tree.
  • GET BULK: The GETBULK operation is used to retrieve voluminous data from large MIB table.
  • SET: This operation is used by the managers to modify or assign the value of the Managed device.
  • TRAPS: Unlike the above commands which are initiated from the SNMP Manager, TRAPS are initiated by the Agents. It is a signal to the SNMP Manager by the Agent on the occurrence of an event.
  • INFORM: This command is similar to the TRAP initiated by the Agent, additionally INFORM includes confirmation from the SNMP manager on receiving the message.
  • RESPONSE: It is the command used to carry back the value(s) or signal of actions directed by the SNMP Manager.
  • SNMP Traps:

    SNMP traps enable an agent to notify the SNMP manager of significant events by an unsolicited SNMP message. SNMP Trap protocols include current sysUpTime value, an OID identifying the type of trap and optional variable bindings. Destination addressing for SNMP trap port is determined in an application-specific manner typically through trap configuration variables in the MIB. The format of the trap message was changed in SNMPv2 and the protocol data units was renamed SNMPv2-Trap. Learn more about SNMP trap monitor here .

    Typical SNMP communication

    Being the part of TCP⁄ IP protocol suite, the SNMP messages are wrapped as User Datagram Protocol (UDP) and intern wrapped and transmitted in the Internet Protocol. The following diagram will illustrate the four–layer model developed by Department of Defense (DoD).

    GET⁄ GET NEXT⁄ GET BULK⁄ SET

    INFORM

    By default the SNMP port is 161 and TRAP⁄ INFORM uses SNMP port 162 for communication.

    SNMP versions

    Since the inception SNMP, has gone through significant upgrades. However SNMP Protocol v1 and v2c are the most implemented versions of SNMP. Support to SNMP Protocol v3 has recently started catching up as it is more secured when compare to its older versions, but still it has not reached considerable market share.

    SNMPv1:

    This is the first version of SNMP protocol, which is defined in RFCs 1155 and 1157

    SNMPv2c:

    This is the revised protocol, which includes enhancements of SNMPv1 in the areas of protocol packet types, transport mappings, MIB structure elements but using the existing SNMPv1 administration structure ("community based" and hence SNMPv2c). It is defined in RFC 1901, RFC 1905, RFC 1906, RFC 2578.

    SNMPv3:

    SNMPv3 defines the secure version of the SNMP. SNMPv3 protocol also facilitates remote network monitoring configuration of the SNMP entities. It is defined by RFC 1905, RFC 1906, RFC 3411, RFC 3412, RFC 3414, RFC 3415.

    Though each version had matured towards rich functionalities, additional emphasis was given to the security aspect on each upgrade. Here is a small clip on each editions security aspect.

    SNMP v1 Community–based security SNMP v2c Community–based security SNMP v2u User–based security SNMP v2 Party–based security SNMP v3 User–based security

    Other useful links

  • How to Install and configure Windows device for SNMP?
  • How to Install and configure Linux device for SNMP?
  • How to Install and configure Solaris device for SNMP?
  • How to configure SNMP Agents?
  • How to process SNMP Traps?
  • Points to ponder: ManageEngine OpManager supports all versions of SNMP. You can monitor any SNMP enabled device for managing⁄ monitoring its performance and for processing SNMP TRAPs.
    ManageEngine OpManager : Network Monitoring Software

    FAQs on SNMP

    Is SNMP still used?

    Yes, SNMP is still in use as it's a common protocol used by any network device or component, and major network vendors still support it.

    What are the benefits of SNMP?

    Using SNMP, you can:

  • Monitor the health and performance of devices in the Internet protocol networks such as laptops, servers, scanners, routers etc.,
  • Monitor the availability status of network devices in real-time
  • Gather information on critical performance metrics like memory usage, CPU utilization, storage, and more and enable prompt alerts on threshold violations
  • Is SNMP TCP or UDP?

    SNMP uses UDP (User Diagram Protocol). UDP is a Transport layer protocol that is majorly used in time-sensitive communications such as voice, video etc., where latency is not tolerated so as to tolerate some packet loss.

  • » Network Monitoring
  • » Bandwidth Monitoring & Traffic Analysis
  • » Network Configuration Management
  • » Switch Port & IP Address Management
  • » Firewall Management
  • » Network Monitoring Software for MSPs
  • » IT Operations Management
  • » Application Performance Monitoring
  •