trapCode
HAWK-I2-MIB ·
.1.3.6.1.4.1.3711.24.1.1.100.1
Object
scalar Integer32
A decimal number to be carried on notifications of types 1 to 4 identifying the event which caused it.
The format of this number is BBEEffCCT where
BB is the number of the relevant MIB branch.
EE indicates what type of event caused the notification. This value is dependent upon branch number and implementation.
CC is the channel number which was the source of the notification.
T discriminates the type of data, e.g. temperature. This value is dependent upon branch number and implementation.
ff future use.
Fields are packed with leading zeros and are set to zero if not relevant to a particular notification.
Context
- MIB
- HAWK-I2-MIB
- OID
.1.3.6.1.4.1.3711.24.1.1.100.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- trapInfo
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 'HAWK-I2-MIB' -M '/opt/observium/mibs/panduit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HAWK-I2-MIB::trapCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HAWK-I2-MIB' -M '/opt/observium/mibs/panduit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HAWK-I2-MIB::trapCode'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647