tInactivity
SESSION-MIB ·
.1.3.6.1.4.1.1038.201.6
Object
scalar r/w
Integer32
The normal configuration is tInactivity > tLock; tInactivityDefault is about 30 min. The session with a manager is closed by the equipment if there is no activity during tInactivity min. It is not used with SNMP. This is used to protect the acces to the manager when the operator is not there during a long time.
Context
- MIB
- SESSION-MIB
- OID
.1.3.6.1.4.1.1038.201.6- 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::tInactivity.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::tInactivity'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-60