nsCacheStatus
NET-SNMP-AGENT-MIB ·
.1.3.6.1.4.1.8072.1.5.3.1.3
Object
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)'.
Context
- MIB
- NET-SNMP-AGENT-MIB
- OID
.1.3.6.1.4.1.8072.1.5.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nsCacheEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'NET-SNMP-AGENT-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-AGENT-MIB::nsCacheStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NET-SNMP-AGENT-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-AGENT-MIB::nsCacheStatus.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NET-SNMP-AGENT-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'NET-SNMP-AGENT-MIB::nsCacheStatus'
Syntax
- Source
- NetsnmpCacheStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |
3 | empty |
4 | cached |
5 | expired |
Conformance
Member of