B.8. The SNMP Protocol
Although worthy of a chapter all its own, we can understand most of what we need to know about the SNMP protocol from the Protocol Data Units (PDUs) it defines and their uses.
B.8.1. The Basic Commands: GET, SET, GETNEXT
The SNMP protocol is used to exchange information between managed systems and the applications written to manage them. Managed systems host a daemon called an agent, usually named snmpd, which provides the ability to read information from or write information to one or more MIBs. The GET, SET, and GETNEXT PDUs are used to read from, write to, and walk a MIB.
B.8.2. Walking a MIB with GETNEXT
GETNEXT allows you to name one object and ask the agent to return the OID and value of the next object in the MIB tree. ...
Get Linux Appliance Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.