mån 2009-09-21 klockan 10:27 +0200 skrev Matias:
> Hi,
> 
> I'm monitoring the oids:
> 
> 1.3.6.1.4.1.3495.1.4.1.3 (cacheHits)
> and
> 1.3.6.1.4.1.3495.1.4.1.6 (cacheMisses)

Those two are
squid.cacheNetwork.cacheIpCache.cacheIpHits
and
squid.cacheNetwork.cacheIpCache.cacheIpMisses

What you are looking for are
squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.cacheHttpHits
.1.3.6.1.4.1.3495.1.3.2.1.2
and
squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.cacheProtoClientHttpRequests
.1.3.6.1.4.1.3495.1.3.2.1.1

there is no SNMP variable for the number of misses, but you can
calculate it by substracting the hits from reqeusts.


> For some reason, the first one increases much more than the latter one. 
> I'm watching the access_log, and most of the results are TCP_MISS.

It should. You are looking into the IP cache where Squid internally
caches DNS lookups.

Regards
Henrik

Reply via email to