cpqCrPhyDrvSize
CPQCR-MIB ·
.1.3.6.1.4.1.232.141.2.5.1.1.7
Object
Physical Drive Size in MB.
This is the size of the physical drive in megabytes. This value
is calculated using the value 1,048,576 (2^20) as a megabyte.
Drive manufacturers sometimes use the number 1,000,000 as a
megabyte when giving drive capacities so this value may differ
from the advertised size of a drive. This field is only
applicable for controllers which support SCSI drives, and
therefore is not supported by the IDA or IDA-2 controllers.
The field will contain 0xFFFFFFFF if the drive capacity cannot
be calculated or if the controller does not support SCSI drives.
Context
- MIB
- CPQCR-MIB
- OID
.1.3.6.1.4.1.232.141.2.5.1.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqCrPhyDrvEntry
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 'CPQCR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCR-MIB::cpqCrPhyDrvSize'
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::cpqCrPhyDrvSize.<cpqCrPhyDrvCntlrIndex>.<cpqCrPhyDrvIndex>'
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::cpqCrPhyDrvSize'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647