SARG (Squid Analysis Report Generator) Installation

linux, server

Environment:
– Linux Debian 7.7 (amd64)
– Squid Cache 3.1.20

Preparation:
– Get the latest update from repository #apt-get update

Installation:

# apt-get install sarg
# vim /etc/sarg/sarg.conf
    ...[edit sarg.conf]...
    access_log /var/log/squid3/access.log
    date_format e
    overwrite_report yes
    output_dir /var/www/sarg
    ...[edit sarg.conf]...
# /usr/bin/sarg -x
# crontab -e
    ...[edit crontab]...
    0 2 * * * /usr/bin/sarg -x
    ...[edit crontab]...

Note:
– Open http://Server-IP-Address/sarg to operate SARG

Source:
http://www.tecmint.com/sarg-squid-analysis-report-generator-and-internet-bandwidth-monitoring-tool/

Comments Off on SARG (Squid Analysis Report Generator) Installation