David Robb wrote:
>
> Are there any HIT percentage stats available via SNMP from Squid 2?
I don't think so, but it can be derived from the byte / request
counters.
Byte hit ratio:
1 - cacheHttpOutKb / cacheServerInKb
Request hit ratio (excluding errors, i think):
cacheHttpHits / cacheClientHttpRequests
All parameters above are in
....private.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.*
There is a small naming inconsistency under cacheProtoAggregateStats:
cacheClientHttpRequests should probably be named cacheHttpRequests to
match the other related parameters.
---
Henrik Nordstrom
Spare time Squid hacker