SnmpKit.SnmpLib.Manager.Response (snmpkit v2.0.1)
Turns decoded SNMP response messages into the manager's result tuples: GET / GETNEXT / GETBULK / SET result extraction and error-status decoding (RFC 1157 and RFC 3416 error codes).
Summary
Functions
Returns every varbind of a response as {oid, type, value}, with SNMPv2c
exceptions normalised into the type field (:no_such_object,
:no_such_instance, :end_of_mib_view, value nil). A non-zero
error-status (SNMPv1 noSuchName, tooBig, ...) is {:error, reason}.
Functions
Returns every varbind of a response as {oid, type, value}, with SNMPv2c
exceptions normalised into the type field (:no_such_object,
:no_such_instance, :end_of_mib_view, value nil). A non-zero
error-status (SNMPv1 noSuchName, tooBig, ...) is {:error, reason}.