How SNMP works

Simple Network Management Protocol (SNMP) is an industry-standard protocol for managing and monitoring network devices, including disk devices, routers, and hubs. SNMP uses Simple Gateway Management Protocol (SGMP) to manage TCP/IP gateways.

The following figure shows an example SNMP environment.

An SNMP manager monitors the devices, which are referred to as managed nodes. Typically, an SNMP Manager polls the SNMP agents on a periodic basis. The manager receives the reports from the agents and determines whether the devices are operating normally. If an abnormal event occurs, an SNMP Agent can report the condition without a request from the manager, by using a trap message.

When an SNMP manager polls an agent, the following dialogue takes place:

If an SNMP Agent detects an abnormal event, it sends a trap to the SNMP Manager. However, if a trap is dropped in transmission, the SNMP Manager does not know that it was sent. For this reason, you should use both polling and traps to determine whether an abnormal event has occurred.