Article ID: 172879 - Last Review: April 13, 2004 - Revision: 4.0 Simple Network Management Protocol (SNMP) and TrapsThis article was previously published under Q172879 On This PageSUMMARY
Simple Network Management Protocol (SNMP) is a protocol-based network
management system. It is used to manage TCP/IP-based and IPX-based
networks. Information on SNMP can be found in the Internet Request for
Comment (RFC) 1157.
Microsoft provides an SNMP agent, or client, for Windows NT and Windows 95. Microsoft, however, does not offer any management capabilities. There are third-party companies that offer products specifically designed for SNMP management. Some such products include, but are not limited, to the following:
HP Openview (Hewlett Packard)
The third-party products discussed here are manufactured by vendors
independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.
NMC4000 (DEVELCON) Compaq Insight Manager (Compaq) MORE INFORMATION
SNMP provides the ability to send traps, or notifications, to advise an
administrator when one or more conditions have been met. Traps are network
packets that contain data relating to a component of the system sending the
trap. The data may be statistical in nature or even status related.
SNMP traps are alerts generated by agents on a managed device. These traps generate 5 types of data:
How Traps are GeneratedTraps are generated when a condition has been met on the SNMP agent. These conditions are defined in the Management Information Base (MIB) provided by the vendor. The administrator then defines thresholds, or limits to the conditions, that are to generate a trap. Conditions range from preset thresholds to a restart. After the condition has been met the SNMP agent then forms an SNMP packet that specifies the following:
SNMP Version: v1 or v2
The above packet is sent to the SNMP trap host, or manager, through UDP
port 162.
Community: Community name of the SNMP agent (defined on the agent) PDU TYPE: SNMPvX Trap (4) Enterprise: Corporation or organization that originated the trap, such as .1.3.6.1.4.1.x Agent Address: IP address of the SNMP agent Generic Trap Type: Cold Start, Link Up, Enterprise, etc. Specific Trap Type: When Generic is set to Enterprise a specific trap ID s identified Timestamp: The value of object sysUpTime when the event occurred Object x Value x: OID of the trap and the current value Packet Format:
------------------------------------------------------
| Version | Community | TRAP PDU |
------------------------------------------------------
----------------------------------------------------------------------
| PDU TYPE | Enterprise | Agent IP | GEN trap | Spec Trap | Time Stame |
----------------------------------------------------------------------
------------------
|OBJ 1 Val 1| .....| |-Variable Bindings-|
------------------
Where is all of this information stored?All of the values that SNMP reports are dynamic and are not stored in any file or registry key. However, the information needed to get the specified values is stored in the Management Information Base (MIB). This information ranges from Object IDs (OIDs) to Protocol Data Units (PDUs). The MIBs must be located at both the agent and the manager to work effectively.GlossaryManager: Third-party software used to configure thresholds and monitor SNMP information.MIB: Management Information Base. A database that defines the PDUs and OIDs. OID: Object Identifier. This is a unique ID # that is used to identify system objects; for instance, .1.3.6.1.4.1.311 identifies the Microsoft enterprise. PDU: Protocol Data Unit. PDUs are the building blocks of SNMP messages. Trap host: Manager responsible for monitoring SNMP traps. APPLIES TO
| Article Translations
|

Back to the top
