Simple Network Management Protocol
Simple Network Management Protocol
Simple Network Management Protocol
1) Management Entity
On the data collection end, two kinds of
activities occur within a management utility or
facility, called a management entity, whose job
is to provide access to management data,
controls, and behaviors:
1. Regular polling or sampling of management data
occurs, whereby the management entity
requests updates from managed devices to
reflect recent status of the network being
managed.
2. When alerts are received, appropriate responses
must be generated
Network Management Architectures
(contd.)
2) Managed Device
•SNMP Protocol
•Defines format of messages exchanged by management
systems and agents.
•Specifies the Get, GetNext, Set, and Trap operations
Ethernet
Frame IP CRC
Packet
UDP
SNMP Message
Datagram
•Get
Retrieves the value of a MIB variable stored on the agent machine
(integer, string, or address of another MIB variable)
•GetNext
Retrieves the next value of the next lexical MIB variable
•Set
Changes the value of a MIB variable
•Trap
An unsolicited notification sent by an agent to a management
application (typically a notification of something unexpected, like an error)
Basic operations contd..
get_request
get_response port 161
get_next_request
get_response port 161
trap
port 162 port 161
Traps
•Traps are unrequested event reports that are sent to a
management system by an SNMP agent process
•When a trappable event occurs, a trap message is generated
by the agent and is sent to a trap destination (a specific,
configured network address)
•Many events can be configured to signal a trap, like a
network cable fault, failing NIC or Hard Drive, a “General
Protection Fault”, or a power supply failure
•Traps can also be throttled -- You can limit the number of
traps sent per second from the agent
•Traps have a priority associated with them -- Critical, Major,
Minor, Warning, Marginal, Informational, Normal, Unknown
Trap Receivers
•Traps are received by a management application.
•Management applications can handle the trap in a few ways:
•Poll the agent that sent the trap for more information about the event, and
the status of the rest of the machine.
•Log the reception of the trap.
•Completely ignore the trap.
Languages of SNMP
BER BER
TRANSFER SYNTAX
UDP UDP
IP IP
LINK LINK
Message Length
Message Version Message Preamble
Community String
PDU Header
SNMP Protocol
Data Unit
PDU Body
variable
VARIABLEbindings:
BINDINGS
SNMP
SNMPPDU:
PDU
SNMP
SNMPmessage:
MESSAGE
•Extendible Agents
•Open, modular design allows for adaptations to new
management data and operational requirements
•Monolithic Agents
•not extendible
•optimized for specific hardware platform and OS
Remote Monitoring (RMON)
The RMON MIB is used to monitor and administer remote
segments of a distributed network
(NNM)
IBM’s Tivoli Net View