cpqTapePhyDrvStatus
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.4.1.1.1.15
Object
column mandatory
Enumeration
Tape Physical Drive Status.
The tape physical drive can be in one of the following states:
other(1)
The tape drive is in a state other than one of those listed
below.
ok(2)
Indicates that the tape physical drive is in normal operation
mode. No user action is necessary.
failed(4)
Indicates that the tape physical drive has failed and can no
longer return data. The drive may need to be replaced.
offline(5)
Indicates that the tape physical drive is offline and can no
longer return data. No further status is available.
missingWasOk(6)
Indicates that a tape physical drive had a status of OK and
is no longer present. The drive has been removed.
missingWasFailed(7)
Indicates that a tape physical drive had a status of FAILED
and is no longer present. The drive has been removed.
missingWasOffline(8)
Indicates that a tape physical drive had a status of OFFLINE
and is no longer present. The drive has been removed.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.4.1.1.1.15- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqTapePhyDrvEntry
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::cpqTapePhyDrvStatus'
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::cpqTapePhyDrvStatus.<cpqTapePhyDrvCntlrIndex>.<cpqTapePhyDrvBusIndex>.<cpqTapePhyDrvScsiIdIndex>.<cpqTapePhyDrvLunIndex>'
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::cpqTapePhyDrvStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | ok |
4 | failed |
5 | offline |
6 | missingWasOk |
7 | missingWasFailed |
8 | missingWasOffline |