cpqScsiPhyDrvPostErrCode
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.2.4.1.1.25
Object
SCSI Physical Drive Last POST Error Code.
This is the result of the last SCSI command which caused a self
test to fail. The value is split into three fields. The first
byte is the SCSI Sense Qualifier. The second byte is the
SCSI Sense Code. The third byte is the SCSI Sense Key. You
will need to refer to a SCSI-2 specification for the valid values
of these fields.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.2.4.1.1.25- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqScsiPhyDrvEntry
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 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqScsiPhyDrvPostErrCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSCSI-MIB::cpqScsiPhyDrvPostErrCode.<cpqScsiPhyDrvCntlrIndex>.<cpqScsiPhyDrvBusIndex>.<cpqScsiPhyDrvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSCSI-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSCSI-MIB::cpqScsiPhyDrvPostErrCode'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647