Search squid archive

Re: Proxy Monitoring Question

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

 



Well you can always use the tail to see the last line generated by squid.
When you use tail -f it will stay in continuous mode every last pagehit will
appear at the moment the page is accessed. Uniting this resource with the
grep command (there are many resources on the net about grep) you could use
something like this.

tail -f access.log | grep [ip_adress you want to monitor] - This will show
only the pagehits accessed by the [ip_adress you want to monitor]...

For more extensive monitoring (for like a day, or some hours of the day) you
can try this:

tail -f access.log |grep [ip_adress you want to monitor] > ipmonitor.txt

This line would dump all the pagehits accessed by the [ip_adress you want to
monitor] to a text file called ipmonitor.txt wich you can audit later.

Hope this can help you out.

----- Original Message ----- 
From: "Benedek Frank" <benedek.frank@xxxxxxxxxxxx>
To: <squid-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, December 06, 2005 2:43 PM
Subject: RE:  Proxy Monitoring Question


Hi

Thanks for helping.

I checked the link, and I like the fact to have a daily report on which
user did what exactly. Nice to have that.

On the other hand, I will look into Group Policies, and how to restrict
direct access to Internet, and route through Proxy.

Is there however a tool, that can generate a real time report, kind of
like Monitoring the current access to the internet? Lets say, I can see
a really high throughput on the firewall, and I would like to check who
is doing what at the time. Is it possible?

Thanks

Ben

-----Original Message-----
From: Colin Farley
Sent: Tuesday, December 06, 2005 3:47 PM
To: Benedek Frank
Subject: Re:  Proxy Monitoring Question

You can force users through your proxy via group policy, you can also
grey
out the settings so they are unable to remove the proxy settings.  For
log
parsing you'll probably want to look at sarg.
http://sarg.sourceforge.net/
you can run a script daily to parse your day's log file and generate
reports in html format, so you'll probably want to install apache on
your
box too.




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

  Powered by Linux