cpqDaPhyDrvFactReallocs
CPQIDA-MIB ·
.1.3.6.1.4.1.232.3.2.5.1.1.7
Object
This shows the number of spare sectors available for remapping at the time the physical drive was shipped. The physical drive will use these spare sectors for remapping bad sectors that exist on the drive. Not all drives support factory reallocation.
Context
- MIB
- CPQIDA-MIB
- OID
.1.3.6.1.4.1.232.3.2.5.1.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqDaPhyDrvEntry
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 'CPQIDA-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDA-MIB::cpqDaPhyDrvFactReallocs'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQIDA-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQIDA-MIB::cpqDaPhyDrvFactReallocs.<cpqDaPhyDrvCntlrIndex>.<cpqDaPhyDrvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQIDA-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQIDA-MIB::cpqDaPhyDrvFactReallocs'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647