hwDiagCode
CTATX-MIB ·
.1.3.6.1.4.1.97.3.1.2.1.7
Object
Additional diagnostics information concerning the slot's module. The meaning of hwDiagCode depends upon the slot's module type described by the hwType parameter. For the Packet Processing Engine board, any error (except where noted otherwise) will prevent the ES/1 from booting. For the Turbo processor board, FDDI IOM board (FIOM), the intelligent FDDI IOM board (IFIOM), the Ethernet/802.3 IOM boards, the Token-Ring/802.5 IOM boards, the HSSI IOM board, any error will prevent the board from being used.
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::hwDiagCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTATX-MIB::hwDiagCode.<hwIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTATX-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTATX-MIB::hwDiagCode'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647