cpqCmcSetupInput2Lock
CPQCMC-MIB ·
.1.3.6.1.4.1.232.153.2.2.2.1.2.8.7
Object
scalar mandatory
r/w
Enumeration
Door/Sidewall 2 is locked by: (2) no locking device (3) locking device 1 (4) locking device 2 (5) both locking devices
Context
- MIB
- CPQCMC-MIB
- OID
.1.3.6.1.4.1.232.153.2.2.2.1.2.8.7- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqCmcSetupInput2
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::cpqCmcSetupInput2Lock.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::cpqCmcSetupInput2Lock'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | none |
3 | lock1 |
4 | lock2 |
5 | both |