cpqSasLogDrvCapacity
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.5.3.1.1.7
Object
column mandatory
Integer32
SAS Logical Drive Size.
This is the capacity of the logical 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.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.5.3.1.1.7- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqSasLogDrvEntry
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::cpqSasLogDrvCapacity'
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::cpqSasLogDrvCapacity.<cpqSasLogDrvHbaIndex>.<cpqSasLogDrvIndex>'
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::cpqSasLogDrvCapacity'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647