cpqCdLibraryStatus
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.2.6.2.1.6
Object
column mandatory
Enumeration
CD Library Status.
This value represents the status of this CD Library.
The library can be in one of the following states:
other(1)
The library is in a state other than one of those listed
below.
ok(2)
Indicates that the CD library fault light is in an `ok` state.
failed(3)
Indicates that the CD library fault light is in a `failed` state.
The fault light is activated for hardware errors (Sense Code 04h)
with additional Sense codes: 40h-4fh except the parity error.
The LED will remain on until is powered cycled.
offline(4)
Indicates that the agents can no longer communicate with
the CD library. This could be caused by a cabling problem or the
CD library may be powered off.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.2.6.2.1.6- 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::cpqCdLibraryStatus'
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::cpqCdLibraryStatus.<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::cpqCdLibraryStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | ok |
3 | failed |
4 | offline |