Operating System - Linux
1824976 Members
3200 Online
109678 Solutions
New Discussion юеВ

monitoring activities of our proxy users

 
SOLVED
Go to solution
Sachin_48
Occasional Advisor

monitoring activities of our proxy users

hi all

I am using squid on linux for the proxy server to serve my users internet access I want to monitor that what are the sites they are accessing ,how long they are using internet what is the bandwith utilized by individual users . And so many things ...


Will some one help me .

Regards
Sachin Rajput
4 REPLIES 4
Gopi Sekar
Honored Contributor

Re: monitoring activities of our proxy users

From the SQUID webpage

7.1 How do I see system level Squid statistics?

The Squid distribution includes a CGI utility called cachemgr.cgi which can be used to view squid statistics with a web browser. This document has a section devoted to cachemgr.cgi usage which you should consult for more information.

Hope this helps,
Gopi
Never Never Never Giveup
Ivan Ferreira
Honored Contributor

Re: monitoring activities of our proxy users

Try these products, they are very good:

http://www.crc.net.nz/software/srg.php
http://sarg.sourceforge.net/sarg.php
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Jack Baruth_1
New Member
Solution

Re: monitoring activities of our proxy users

hi Sachin,

You could use MRTG in combination with squid.

Try this site:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-squid.html

Alternately, you can always perform standard grepping on the /var/log/squid files. Sometimes that is the fastest answer. The files are in a standard format so you can split them apart and add the bandwidth.
Replaces my unrecoverable 2001 profile.
Muthukumar_5
Honored Contributor

Re: monitoring activities of our proxy users

You can use access.log file with SARG / Calamoris. It is quite good in reporting.

Related tools as,

http://www.squid-cache.org/Scripts/

Note: Log file access reporter will use more disk space. SARG generates 4GB of data for 50 users / year

hth.
Easy to suggest when don't know about the problem!