trapCode

MITSUBISHI-UPS-MIB · .0.13891.101.10.1

Object

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

Context

MIB
MITSUBISHI-UPS-MIB
OID
.0.13891.101.10.1
Type
scalar
Access
readonly
Status
mandatory
Parent
upsTrapInfo

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

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

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295