cpqCmcStatusLock2Dev
CPQCMC-MIB ·
.1.3.6.1.4.1.232.153.2.2.4.20
Object
scalar mandatory
Enumeration
The status of door-locking device 2 (2) OK (3) Power fail of door locking-device (4) Low Battery of door locking-device (5) Battery of door locking device needs to be replaced (6) Battery missing, insert all batteries (6) Connection CMC->door locking device lost (7) Lock not installed
Context
- MIB
- CPQCMC-MIB
- OID
.1.3.6.1.4.1.232.153.2.2.4.20- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- cpqCmcStatus
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQCMC-MIB::cpqCmcStatusLock2Dev.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQCMC-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQCMC-MIB::cpqCmcStatusLock2Dev'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | ok |
3 | powerFail |
4 | lowBattery |
5 | replaceBatt |
6 | missingBatt |
7 | noConnect |
8 | notAvail |