trapCode

PANDUIT-OLD-MIB · .1.3.6.1.4.1.19536.0.1.7.1.1

Object

scalar mandatory Integer32
A number identifying the event for the trap that was sent.

Context

MIB
PANDUIT-OLD-MIB
OID
.1.3.6.1.4.1.19536.0.1.7.1.1
Type
scalar
Access
noaccess
Status
mandatory
Parent
pdug5TrapInfoEntry

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PANDUIT-OLD-MIB' -M '/opt/observium/mibs/panduit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PANDUIT-OLD-MIB::trapCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PANDUIT-OLD-MIB' -M '/opt/observium/mibs/panduit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PANDUIT-OLD-MIB::trapCode'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647