cpqTapeLibraryDoorStatus
CPQSCSI-MIB ·
.1.3.6.1.4.1.232.5.4.3.1.1.7
Object
column mandatory
Enumeration
Status of the library door.
The door can be in one of the following states:
other(1)
The door is in a state other than one of those listed
below.
closed(2)
The door is closed.
open(3)
The door is open.
notSupported(4)
The door status is not supported by the device.
Context
- MIB
- CPQSCSI-MIB
- OID
.1.3.6.1.4.1.232.5.4.3.1.1.7- 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::cpqTapeLibraryDoorStatus'
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::cpqTapeLibraryDoorStatus.<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::cpqTapeLibraryDoorStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | closed |
3 | open |
4 | notSupported |