cpqCdLibraryDriveList
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.2.6.2.1.10
Object
column mandatory
OctetString
CD Library Drive List
This is a data structure containing the list of CD drive ids
that are present in this library. The format is:
BYTE Controller Number
BYTE Bus Number
BYTE SCSI ID
BYTE Logical Unit Number
There will be 1 structure for each drive present in the library.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.2.6.2.1.10- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqCdLibraryEntry
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::cpqCdLibraryDriveList'
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::cpqCdLibraryDriveList.<cpqCdLibraryCntlrIndex>.<cpqCdLibraryBusIndex>.<cpqCdLibraryScsiIdIndex>.<cpqCdLibraryLunIndex>'
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::cpqCdLibraryDriveList'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64