cpqCrSpareStatus

CPQCR-MIB · .1.3.6.1.4.1.232.141.2.4.1.1.3

Object

column mandatory Enumeration
Spare Status.
              
This shows the status of the on-line spare drive.
              
The following values are valid for the spare status:
              
    Hot Spare(5)
      The drive attached to this channel is kept spinning
      whenever the controller is powered up and it is to
      be automatically brought online to replace a failed drive.
              
    Warm Spare(6)
      The drive attached to this channel is not spun up
      until a disk in the array fails and it is automatically
      brought online to replace a failed drive.
              
    Adding Spare(9)
      The drive is in the process of becoming a spare drive.

Context

MIB
CPQCR-MIB
OID
.1.3.6.1.4.1.232.141.2.4.1.1.3
Type
column
Access
readonly
Status
mandatory
Parent
cpqCrSpareEntry

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 'CPQCR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCR-MIB::cpqCrSpareStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQCR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCR-MIB::cpqCrSpareStatus.<cpqCrSpareCntlrIndex>.<cpqCrSparePhyDrvIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQCR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQCR-MIB::cpqCrSpareStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2empty
3offline
4online
5hotSpare
6warmSpare
7creating
8rebuilding
9addingSpare
10formatting