Search squid archive

Re: Weird statistics from snmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you very much for your clarification guys.

I'd love to help the squid developers to document this and what represents exactly each oid, but I'm afraid I don't have the needed knowledge to do this.

Thanks again.

Matias.


Henrik Nordstrom wrote:
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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux