trapDescription
CPDU-MIB ·
.1.3.6.1.4.1.318.1.1.32.8.1.10
Object
scalar mandatory
OctetString
A string identifying the event for that last trap that was sent.
Context
- MIB
- CPDU-MIB
- OID
.1.3.6.1.4.1.318.1.1.32.8.1.10- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- trapCritical
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPDU-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPDU-MIB::trapDescription.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPDU-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPDU-MIB::trapDescription'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255