Expand description
SNMP Parser (v1 and v2c)
SNMP is defined in the following RFCs:
Structs§
- Error
Status - PduType
- Snmp
Bulk Pdu - Snmp
Generic Pdu - Snmp
Message - An SNMPv1 or SNMPv2c message
- Snmp
Trap Pdu - Snmp
Variable - Trap
Type
Enums§
- Network
Address - This CHOICE represents an address from one of possibly several protocol families. Currently, only one protocol family, the Internet family, is present in this CHOICE.
- Object
Syntax - SnmpPdu
- VarBind
Value
Functions§
- parse_
snmp_ v1 - Parse a SNMP v1 message.
- parse_
snmp_ v2c - Parse a SNMP v2c message.
Type Aliases§
- Counter
- This application-wide type represents a non-negative integer which monotonically increases until it reaches a maximum value, when it wraps around and starts increasing again from zero. This memo specifies a maximum value of 2^32-1 (4294967295 decimal) for counters.
- Gauge
- This application-wide type represents a non-negative integer, which may increase or decrease, but which latches at a maximum value. This memo specifies a maximum value of 2^32-1 (4294967295 decimal) for gauges.
- Time
Ticks - This application-wide type represents a non-negative integer which counts the time in hundredths of a second since some epoch. When object types are defined in the MIB which use this ASN.1 type, the description of the object type identifies the reference epoch.