stunQueryCacheDuration
MX-STUN-MIB ·
.1.3.6.1.4.1.4935.15.200.1.100
Object
scalar r/w
Unsigned32
Indicates the amount of time the unit should keep a STUN
query result in its internal cache.
Keeping a query in a cache helps reduce the amount of
unnecessary STUN queries.
When set to 0, the cache is disabled. The unit will do a
STUN query each time a socket needs to be used.
This value is expressed in seconds (s).
Context
- MIB
- MX-STUN-MIB
- OID
.1.3.6.1.4.1.4935.15.200.1.100- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- stunMIBObjects
- Groups
- 1
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 'MX-STUN-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-STUN-MIB::stunQueryCacheDuration.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-STUN-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-STUN-MIB::stunQueryCacheDuration'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-3600
Conformance
Member of