Module snmp

Source
Expand description

SNMP Parser (v1 and v2c)

SNMP is defined in the following RFCs:

  • RFC1157: SNMP v1
  • RFC1442: Structure of Management Information for version 2 of the Simple Network Management Protocol (SNMPv2)
  • RFC1902: SNMP v2 SMI
  • RFC2578: Structure of Management Information Version 2 (SMIv2)
  • RFC3416: SNMP v2
  • RFC2570: Introduction to SNMP v3

Structs§

ErrorStatus
PduType
SnmpBulkPdu
SnmpGenericPdu
SnmpMessage
An SNMPv1 or SNMPv2c message
SnmpTrapPdu
SnmpVariable
TrapType

Enums§

NetworkAddress
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.
ObjectSyntax
SnmpPdu
VarBindValue

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.
TimeTicks
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.