Re: accessing squid stats.

From: Alvin Lim <alvinlim@dont-contact.us>
Date: Tue, 20 Jul 1999 09:03:00 +0800

Chris,

get Calamaris. Run it on your log files.
does exactly what you want ...tells you cache hits..etc

have a look at

        http://squid.nlanr.net/Squid/Scripts/

Chris Singer wrote:
>
> Hi list,
>
> I'm having trouble getting access to squid stats. I don't want to use the
> setup the cache manager because hopefully I won't have to query the cache to
> often. I would like to use the client program that comes with Squid. As
> you can see from the output below, I can't seem to even get a list of the
> objects. Could anyone tell me why my request isn't being accepted? Am I
> not using the program correctly? I really want to see how often I'm
> getting hits on the cache.
>
> [csinger@bigwhite csinger]$ client mgr:menu
> HTTP/1.0 400 Bad Request
> Server: Squid/2.2.DEVEL3
> Mime-Version: 1.0
> Date: Mon, 19 Jul 1999 22:27:37 GMT
> Content-Type: text/html
> Content-Length: 788
> Expires: Mon, 19 Jul 1999 22:27:37 GMT
> X-Squid-Error: ERR_INVALID_URL 0
> X-Cache: MISS from bigwhite.workfire.com
> Proxy-Connection: close
>
> <HTML><HEAD>
> <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
> </HEAD><BODY>
> <H1>ERROR</H1>
> <H2>The requested URL could not be retrieved</H2>
> <HR>
> <P>
> While trying to retrieve the URL:
> mgr:menu
> <P>
> The following error was encountered:
> <UL>
> <LI>
> <STRONG>
> Invalid URL
> </STRONG>
> </UL>
>
> <P>
> Some aspect of the requested URL is incorrect. Possible problems:
> <UL>
> <LI>Missing or incorrect access protocol (should be `http://'' or similar)
> <LI>Missing hostname
> <LI>Illegal double-escape in the URL-Path
> <LI>Illegal character in hostname; underscores are not allowed
> </UL>
> </P>
>
> <br clear="all">
> <hr noshade size=1>
> Generated Mon, 19 Jul 1999 22:27:37 GMT by bigwhite.workfire.com (<a
> href="http://squid.nlanr.net/Squid/">Squid/2.2.DEVEL3</a>)
> </BODY></HTML>
>
> Thank you in adanvence.
>
> Chris
Received on Mon Jul 19 1999 - 18:35:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:27 MST