cpqTapeLibraryHotSwap
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.4.3.1.1.16
Object
column mandatory
Enumeration
Tape Library Hot Swap Status.
Hot swap status denotes the presence of hot swappable internal
components such as drives, fans, power supplies, etc. The library
hot swap status can be in one of the following states:
other(1)
The library hot swap status is unknown.
notSupported(2)
Indicates that the library cannot detect or report hot swap
status.
capable(3)
Indicates that the library is capable of detecting and reporting
hot swappable internal components and has at least one hot
swappable component.
notCapable(4)
Indicates that the library is capable of detecting and reporting
hot swappable internal components but there are no hot swappable
components installed.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.4.3.1.1.16- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqTapeLibraryEntry
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::cpqTapeLibraryHotSwap'
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::cpqTapeLibraryHotSwap.<cpqTapeLibraryCntlrIndex>.<cpqTapeLibraryBusIndex>.<cpqTapeLibraryScsiIdIndex>.<cpqTapeLibraryLunIndex>'
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::cpqTapeLibraryHotSwap'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | notSupported |
3 | capable |
4 | notCapable |