trapCode

CPDU-MIB · .1.3.6.1.4.1.318.1.1.32.8.1.9

Object

scalar mandatory Integer32
A number identifying the event for the trap that was sent.
Mapped unique trap code per unique event to be used by ISEE's
decoder ring.

Context

MIB
CPDU-MIB
OID
.1.3.6.1.4.1.318.1.1.32.8.1.9
Type
scalar
Access
readonly
Status
mandatory
Parent
trapCritical

Scalars 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::trapCode.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::trapCode'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647