cpqIdeLogicalDriveSpareIds
CPQIDE-MIB ·
.1.3.6.1.4.1.232.14.2.6.1.1.9
Object
column mandatory
OctetString
IDE Logical Drive Spare ID list.
This lists the ATA disks drive IDs which are possible spares for
this logical drive. These are the same IDs which can be used as
indices into the ATA disk table (cpqIdeAtaDiskIndex). Each byte
of the string is an index.
Context
- MIB
- CPQIDE-MIB
- OID
.1.3.6.1.4.1.232.14.2.6.1.1.9- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqIdeLogicalDriveEntry
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 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDE-MIB::cpqIdeLogicalDriveSpareIds'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDE-MIB::cpqIdeLogicalDriveSpareIds.<cpqIdeLogicalDriveControllerIndex>.<cpqIdeLogicalDriveIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQIDE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQIDE-MIB::cpqIdeLogicalDriveSpareIds'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255