Well the idea behind this requirement was initially a precaution in case of something goes wrong with the squid. But i have tested it and it work great. Separate Web server machine running sqstat pointed to squid server.
> Date: Fri, 13 Apr 2012 08:17:37 -0400 > From: [email protected] > To: [email protected] > Subject: Re: [squid-users] Program for realtime monitoring > > I don´t understand !!! Why can you need to configure in different machines ?? > > On Fri, Apr 13, 2012 at 8:11 AM, Carlos Manuel Trepeu Pupo > <[email protected]> wrote: > > I don´t understand !!! Why can you need to configure in different machines > > ?? > > > > On Fri, Apr 13, 2012 at 12:24 AM, Maqsood Ahmad <[email protected]> > > wrote: > >> > >> Hi, > >> > >> > >> Is it possible that we can configure sqstat on separate machine > >> > >> > >> > >> Maqsood Ahmad > >> > >> > >> > >> > >> > >> > >>> Date: Thu, 12 Apr 2012 09:49:43 -0400 > >>> From: [email protected] > >>> To: [email protected] > >>> Subject: Re: [squid-users] Program for realtime monitoring > >>> > >>> Give 777 permissions to the folder sqstat !!! > >>> > >>> 2012/4/12 CyberSoul <[email protected]>: > >>> >>The first time I make the test, I just install apache without any > >>> >>particular configuration. > >>> > > >>> >>I just make a folder "sqstat" inside WWW, and copy all the content > >>> >>there. To call the script you need to type > >>> >>http://ip-address-server/sqstat/sqstat.php > >>> > > >>> >>For the Squid you just need to permit the access from IP where sqstat > >>> >>is, to the cache. For sqstat you need to make this config: > >>> >>$squidhost[0]="ip_proxy"; > >>> >>$squidhost[1]="ip_proxy1"; > >>> >>.... as many proxies server you have > >>> >>$squidport[0]=3128; > >>> >>$squidport[1]=3128; > >>> >>..... one for each proxy server > >>> >>$cachemgr_passwd[0]=""; > >>> >>$cachemgr_passwd[1]=""; > >>> >>..... one for each proxy server and between "" puts the password if > >>> >>you have one. > >>> >>resolveip[0]=false; > >>> >>resolveip[1]=false; > >>> >>..... one for each proxy server > >>> >>$group_by[0]="username"; > >>> >>$group_by[1]="host"; > >>> >>....... depend if you want to group by ip or username. > >>> > > >>> >>That's all you need, anything else you need don't be afraid to ask > >>> > > >>> > Well, try to call script type by > >>> > http://ip-address-server/sqstat/sqstat.php > >>> > and in browser I see just text of sqstat.php file or again > >>> > SqStat Error > >>> > Error (13) Permission Denied > >>> > > >>> > I think trouble in httpd.conf, can you send me your httpd.conf file or > >>> > httpd.conf.default file? > >>> > > >>> > > >>> > > >>
