SNMP exchanges network information in the form of Protocol Data Units (PDUs). These units contain information about variables stored on the managed device, such as the web server. These variables, also known as managed objects, have values and titles that are reported to the NMS as necessary. Protocol data units sent by the server to the NMS are known as “traps.” The use of GET, SET, and “trap” messages are illustrated in the following examples.
The NMS sends a message to the Administration Server master agent. The message can be a request for data (a GET message), or an instruction to set a variable in the MIB (a SET message).
The master agent forwards the message to the appropriate subagent.
The subagent retrieves the data or changes the variable in the MIB.
The subagent reports data or status to the master agent, and the master agent forwards the message back (a GET message) to the NMS.
The NMS displays the data textually or graphically through its network management application.
The subagent informs the master agent that the server has stopped.
The master agent sends a message or “trap” reporting the event to the NMS.
The NMS displays the information textually or graphically through its network management application.