tLock
SESSION-MIB ·
.1.3.6.1.4.1.1038.201.1
Object
scalar r/w
Integer32
Number of minutes for which a write session is active on the equipment. When the value of this variable is 0, the equipment is not locked. When a SNMP manager (iONOSANMSupervisor and Operator) start a write session, tLock can be set to a value by the manager (up to 30 minutes, so it has time to configure the equipment). Each time an action is done under the equipment tLock is set again to its value. tLock is a decremental counter; when the value of tLock return to 0, the write session is ended and the equipment is unlocked. The SNMP manager can choose to unlock the equipment by setting the value of tLock to 0 before it reach this value itself.
Context
- MIB
- SESSION-MIB
- OID
.1.3.6.1.4.1.1038.201.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- session
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 'SESSION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SESSION-MIB::tLock.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SESSION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SESSION-MIB::tLock'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-30