Understanding SNMP  e-Biz Impact SNMP implementation

Chapter 1: Overview

SNMP basics

SNMP requires two basic elements to function: an agent and a manager. A Management Information Base (MIB) is also required, which provides a small set of commands for the exchange of information between the agent and the manager, and lists the unique object identifier (OID) of each managed element in an SNMP network.

Both the agent and manager implement the full SNMP communications protocols—the User Datagram Protocol (UDP) and the Internet Protocol (IP).

NoteThe UDP is the IP transport layer protocol that supports SNMP messages. Unlike TCP, UDP is a connectionless protocol. A UDP host places messages on the network without first establishing a connection with the recipient. UDP does not guarantee message delivery, but it is a lightweight protocol that can transport a large number of status messages without using too many network resources.


SNMP actions

When the SNMP manager and agent communicate:

  1. The Get and GetNext messages allow the manager to request information for a specific variable.

  2. The agent, upon receiving a Get or GetNext message, issues a GetResponse message to the manager with either the information requested or an error indication as to why the request cannot be processed.

  3. A Set message allows the manager to request a change be made to the value of a specific variable in the case of an alarm remote that operates a relay.

  4. The agent responds with a GetResponse message indicating the change has been made or an error indication as to why the change cannot be made.

  5. The Trap message allows the agent to spontaneously inform the manager of an ìimportant event.


SNMP traps

Most of the messages (Get, GetNext, and Set) are issued only by the SNMP manager. Because the Trap message is the only command capable of being initiated by an agent, it is used by remote telemetry units (RTUs) to report alarms that notify the SNMP manager as soon as an alarm condition occurs instead of waiting for the SNMP manager to ask.

An SNMP trap is a change-of-state (COS) message issued by an SNMP agent that reports an event that can mean an alarm, a clear, or simply a status message.





Copyright © 2005. Sybase Inc. All rights reserved. e-Biz Impact SNMP implementation

View this book as PDF