Search squid archive

Re: Using squidclient

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ryan McCain wrote:
I'm trying to use squidclient to get some information on the performance of one of our squid boxes.  The version is 2.7x.

See below..

--

dss-cs99lv02-a:/usr/local/squid/bin # nmap localhost

Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2010-05-21 14:16 CDT
Interesting ports on localhost (127.0.0.1):
(The 1665 ports scanned but not shown below are in state: closed)
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
111/tcp  open  rpcbind
427/tcp  open  svrloc
2033/tcp open  glogger
2034/tcp open  scoremgr
8080/tcp open  http-proxy

Nmap finished: 1 IP address (1 host up) scanned in 0.146 seconds
dss-cs99lv02-a:/usr/local/squid/bin # ./squidclient -p8080 mgr:5_min
HTTP/1.0 404 Not Found
Server: squid/2.7.STABLE6
Date: Fri, 21 May 2010 19:17:01 GMT
Content-Type: text/html
Content-Length: 1229
X-Squid-Error: ERR_INVALID_URL 0
X-Cache: MISS from dss-cs99lv02-a
Via: 1.0 dss-cs99lv02-a:8080 (squid/2.7.STABLE6)
Connection: close

<snip>

--------

....as you can see, Squid is running on port 8080 of the local box, however, when I run squidclient it appears to display the HTML rather than displaying the metric I am looking for.  Any ideas?


Do you have the "manager" ACLs configured?

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.3

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux