George,
I haven't used Squid's SNMP, but I can find my cache hit percentage by
analyzing my log files with Webalizer.
Webalizer can analyze any common log format, and converts the statistical
data into graphs and tables. One of the tables refers to
redirectors....these show up as tcp_denied: none; tcp_hit:none;
tcp_miss:direct, etc.
It also shows what percentage of my web traffic each of these redirectors
has. Since I have a crontab job that runs webalizer every night on
access.log.0 (my logs rotate every night), I can view my Webalizer page and
see what percentage of cache hits I have, what % of misses, etc. So far I'm
happy with the statistics that Webalizer provides me.
it can be found @ www.mrunix.net/webalizer.
~craig
----- Original Message -----
From: George Dimitriadis <dimitria@forthnet.gr>
To: <squid-users@ircache.net>
Sent: Sunday, June 18, 2000 11:32 AM
Subject: Squid SNMP interface measuring the traffic saved...
>
> Hi,
> i want to measure how much HTTP traffic i save with squid using the SNMP
> interface.
>
> There are some variable there, the most useful ones are the following:
> cacheserverinkb
> cacheserveroutkb
>
> cachehttpinkb
> cachehttpoutkb
>
> But i am not getting any reasonable figures. Could someone explain
> what each variable means ?
>
> For example i am getting the following numbers:
>
> cacheserverinkb: 74 KB/s
> cacheserveroutkb: 4.5 KB/s
>
> cachehttpinkb: 6KB/s
> cachehttpoutkb: 100KB/s
>
> is 100Kb/s - 74 KB/s = 26Kb/s what i save (25% byte hit ratio).
>
> Thanks for any help...
>
Received on Sun Jun 18 2000 - 11:13:10 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:05 MST