All MIBs › NET-SNMP-AGENT-MIB › nsCacheStatus
nsCacheStatus
Module: NET-SNMP-AGENT-MIB
OID (symbolic): NET-SNMP-AGENT-MIB::nsCacheStatus
OID (numeric): 1.3.6.1.4.1.8072.1.5.3.1.3
Node type: OBJECT-TYPE
Type: NetsnmpCacheStatus
Access: read-write
Description: The current status of this particular cache entry. Acceptable values for Set requests are 'enabled(1)', 'disabled(2)' or 'empty(3)' (to clear all cached data). Requests to read the value of such an object will return 'disabled(2)' through to 'expired(5)'.
What is nsCacheStatus?
This object reports or sets the status of a specific cache entry: settable to enabled(1), disabled(2), or empty(3, clears all cached data for that entry), while reads return values from disabled(2) through expired(5). Admins set this to empty(3) to force an immediate refresh of a specific cached data subtree without waiting for its timeout to elapse. Setting this to empty(3) on a specific cache entry immediately discards its cached data, forcing the next query to fetch fresh values from the underlying data source.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.1.5.3.1.3 snmpwalk -v2c -c public <target> NET-SNMP-AGENT-MIB::nsCacheStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.1.5.3.1.3.1 snmpget -v2c -c public <target> NET-SNMP-AGENT-MIB::nsCacheStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.1.5.3.1.3.1 s <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::nsCacheStatus 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.3 | nsCacheStatus | NET-SNMP-AGENT-MIB |