Internet Monitoring With SARG and Squid On Windows
SARG aka Squid Analysis Report Generator is a nice little tool that analyses Squid's access.log files and creates a management friendly report along with graph.
This guide is for someone who have already configured SARG on Linux box.
This guide is for someone who have already configured SARG on Linux box.
- Install Squid on Windows. You can follow this post squid-on-windows
- SARG port for windows is available in the SARG website itself SARG. Or download it by clicking here.
- Unzip it in C:\sarg
- Edit sarg.conf file inside c:\sarg\etc
- Edit access_log
- graph option
- output_dir where your web server can be pointed.
- Others that you think is important. This is very simple file with all needed description.
- Make your scheduled task to run SARG and rotate Squid log files or restart Squid from services.msc .
retert
ReplyDeletewhat do you mean "rotate Squid"?!!
ReplyDeleteOh! by rotate Squid I meant to rotate Squid log files. You can run "squid -k rotate" to do so. I've updated the text above as well.
ReplyDeleteC:\Documents and Settings\Administrateur>C:\sarg\sbin\sarg.exe
ReplyDeleteSARG: Records in file: 269842, reading: 100.00%
SARG: No records found
SARG: End
sarg is not generating report successfully on my windows server while squid is working correctly.
ReplyDeletesarg error is "unsort - invalid argument"
any help will be appreciated.thanks