All MIBs › NET-SNMP-AGENT-MIB › nsCacheTimeout
nsCacheTimeout
Module: NET-SNMP-AGENT-MIB
OID (symbolic): NET-SNMP-AGENT-MIB::nsCacheTimeout
OID (numeric): 1.3.6.1.4.1.8072.1.5.3.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The length of time (?in seconds) for which the data in this particular cache entry will remain valid.
What is nsCacheTimeout?
This object sets the timeout, in seconds, for how long the data cached under a specific OID subtree (identified by nsCachedOID, this table's index) remains valid. Admins override the global default here for a specific MIB module's data when it needs a different freshness requirement than the rest of the agent. Setting this to 60 for a particular cached OID subtree keeps that specific module's data valid for a full minute instead of the shorter global default.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.1.5.3.1.2 snmpwalk -v2c -c public <target> NET-SNMP-AGENT-MIB::nsCacheTimeout
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.1.5.3.1.2.1 snmpget -v2c -c public <target> NET-SNMP-AGENT-MIB::nsCacheTimeout.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.1.5.3.1.2.1 i <value>
Start monitoring Linux/Unix host or embedded device running the Net-SNMP agent (snmpd) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-AGENT-MIB::nsCacheTimeout OID value, configure state conditions and alerts, and monitor any Linux/Unix host or embedded device running the Net-SNMP agent (snmpd) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.8072 | netSnmp | NET-SNMP-MIB |
| 1.3.6.1.4.1.8072.1 | netSnmpObjects | NET-SNMP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.1.5 | nsCache | NET-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.8072.1.5.3 | nsCacheTable | NET-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.8072.1.5.3.1 | nsCacheEntry | NET-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.8072.1.5.3.1.2 | nsCacheTimeout | NET-SNMP-AGENT-MIB |