ciscoBootHwDiagsMIBResultCode

CISCO-BOOT-HWDIAGS-MIB · .1.3.6.1.4.1.9.9.696.1.3.1.7

Object

This object represents a return code that may be mapped to
detailed testresults in an analogous way to how the 
ciscoBootHwDiagsMIBConfigCode  is mapped to configurations.  
That is, for the CLI example above, a 
ciscoBootHwDiagsMIBResultCode of F (hex) indicates that all
FPGA tests passed. A ciscoBootHwDiagsMIBResultCode of 
1 (hex), indicates that ONLY FPGA1 test passed. A 
ciscoBootHwDiagsMIBResultCode of 3 (hex) indicates that only
FPGA1 AND FPGA2-subtest1 passed, and so forth (since there is
only one test for FPGA1, but two tests for FPGA2).  Hence the
encoding is platform dependent and flexible.

Context

MIB
CISCO-BOOT-HWDIAGS-MIB
OID
.1.3.6.1.4.1.9.9.696.1.3.1.7
Type
column
Access
readonly
Status
current
Parent
ciscoBootHwDiagsMIBEntry
Groups
1

Walk 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 'CISCO-BOOT-HWDIAGS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-BOOT-HWDIAGS-MIB::ciscoBootHwDiagsMIBResultCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-BOOT-HWDIAGS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-BOOT-HWDIAGS-MIB::ciscoBootHwDiagsMIBResultCode.<ciscoBootHwDiagsMIBBankIndex>.<ciscoBootHwDiagsMIBTestIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-BOOT-HWDIAGS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-BOOT-HWDIAGS-MIB::ciscoBootHwDiagsMIBResultCode'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295