[squid-users] Re: Weird statistics from snmp

From: Matias <matiassurdi_at_gmail.com>
Date: Wed, 23 Sep 2009 11:44:57 +0200

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
>
>
Received on Wed Sep 23 2009 - 09:45:31 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 23 2009 - 12:00:03 MDT