All MIBs › SQUID-MIB › cacheNumObjCount
cacheNumObjCount
Module: SQUID-MIB
OID (symbolic): SQUID-MIB::cacheNumObjCount
OID (numeric): 1.3.6.1.4.1.3495.1.3.1.7
Node type: OBJECT-TYPE
Type: Gauge32
Access: read-only
Description: Number of objects stored by the cache
What is cacheNumObjCount?
Reports how many objects are currently stored in Squid's cache (memory and disk combined). An admin tracks this alongside cacheCurrentSwapSize to understand cache density -- lots of objects in little space suggests many small cached items.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3495.1.3.1.7 snmpwalk -v2c -c public <target> SQUID-MIB::cacheNumObjCount
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3495.1.3.1.7.1 snmpget -v2c -c public <target> SQUID-MIB::cacheNumObjCount.1
Start monitoring Squid proxy/cache server (software appliance), vendor-neutral standards-based MIB for Unix/Linux HTTP cache software (traffic/cache-performance counters) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SQUID-MIB::cacheNumObjCount OID value, configure state conditions and alerts, and monitor any Squid proxy/cache server (software appliance), vendor-neutral standards-based MIB for Unix/Linux HTTP cache software (traffic/cache-performance counters) from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3495 | nlanr | SQUID-MIB |
| 1.3.6.1.4.1.3495.1 | squid | SQUID-MIB |
| 1.3.6.1.4.1.3495.1.3 | cachePerf | SQUID-MIB |
| 1.3.6.1.4.1.3495.1.3.1 | cacheSysPerf | SQUID-MIB |
| 1.3.6.1.4.1.3495.1.3.1.7 | cacheNumObjCount | SQUID-MIB |