SNMP

Overview#

SNMP (Simple Network Management Protocol) is a widely available protocol that facilitates management of networked devices from a central location. An SNMP Architecture has 3 major elements:

We need to mention Object Identifiers (OIDs) here. Each MIB object definition has a unique OID, which is a dotted list of integers. For example, the OID for data object "hrDiskStorageCapacity" is ".1.3.6.1.2.1.25.3.6.1.4".

When Managers and Agents communicate they refer to MIB data objects using OIDs.

An OID sent with a corresponding value {OID,Value} is referred to as "binding".

Manager & Agent Communications#

Managers can be viewed as Clients and Agents as Servers. The operations between Managers and Agents are quite simple:

Typical Uses#

The operations of SNMP are "simple", but the totality of SNMP is not -- typical ramp-up time for an individual (on their own) to learn how to effectively use SNMP can easily be six months or more.

SNMP Standards and Versions#

SNMP Standards are described in RFC (Request for Comments) documents published by the IETF (Internet Engineering Task Force). Standards Topics can generally be categorized into:

Messaging Protocols#

Three such protocols are defined:

MIB Syntax Standards#

MIBs are written in either of two syntax standards:

An SMIv2 MIB can usually be translated into an SMIv1 MIB. The primary exceptions are: a) A Counter64 object has no SMIv1 counterpart, b) An improperly coded NOTIFICATION-TYPE object cannot be translated to an SMIv1 TRAP-TYPE object with the same OID.

Data defined by SMIv2 MIB Objects can be transmitted between Managers and Agents by any of the 3 messaging protocols. The only exception to this is that Counter64 data cannot be transported in SNMPv1 messages.

"Standard MIB" Definitions#

Depending on the origin (author) of a MIB, we can categorize MIBs into either:

Standard MIB Examples:#

More Information#

There might be more information for this subject on one of the following: