Re: [squid-users] Re: Weird statistics from snmp

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 22 Sep 2009 16:05:33 +1200

On Mon, 21 Sep 2009 16:06:22 +0200, Matias <matiassurdi_at_gmail.com> wrote:
> Amos Jeffries wrote:
>> Matias wrote:
>>> 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)
>>>
>>> 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.
>>>
>>> So, how must I interpret the fact that I'm seeing over snmp more HITS
>>> than MISSES?
>>>
>>> I must be missing something, but I don't know what.
>>>
>>>
>>> Thanks!
>>
>> What version of Squid?
>>
>> Amos
>
> # squid3 -v
> Squid Cache: Version 3.0.STABLE8

Um, okay...

... from the MIB.txt for 3.0 the OID *.3495.1.4.1 appears to be IP cache.
Which makes *.6 misses mean a remote DNS lookup performed and *.3 hit a DNS
record stored from previous lookup.

From the 3.0 mib.txt the HTTP stats are at OID *.3495.1.3.2.1.2 (TCP_HIT /
TCP_*_HIT). Misses are not reported, but total HTTP requests
(*.3495.1.3.2.1.1) and errors (*.3495.1.3.2.1.3) are.

Amos
Received on Tue Sep 22 2009 - 04:13:59 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 22 2009 - 12:00:02 MDT