Tuesday, December 2, 2008

Sarg

Sarg is a tool which uses squid to generate reports of websites and amount of data downloaded by the user. You can install sarg is two ways one way u can download tar.gz file from the link (sourceforge.net/sarg.php) or if you are using rpm based os you can use rpm

configuration using tar.gz... untar it

1. put the file in /var/www/html
2. move to that folder
3. ./configure
make
make install

this script will install sarg in you machine
4. vim /etc/sarg.conf

5. In configuration you have to mention

access_log /var/log/squid/access.log (log file for squid from which sarg picks information)

output_dir /var/www/html/squid-reports (out put directory where sarg report generated)

Alias/sa /var/www/html/squid-reports (its an alias created in apache to display all
information through browser)



No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST