Download the tarball
extract it
change to the respective folder1. run ./configure
2. make
3. make install
4. Go to /usr/local/sarg.
5. vi sarg.conf and remove # from following line.
access_log /usr/local/squid/var/logs/access.log
graphs yes
graph_days_bytes_bar_color orange
title "Squid User Access Reports"
font_face Tahoma,Verdana,Arial
header_color darkblue
header_bgcolor blanchedalmond
font_size 9px
header_font_size 9px
title_font_size 11px
background_color white
text_color 000000
text_bgcolor lavender
title_color green
topuser_sort_field TIME reverse
user_sort_field TIME reverse
date_format e
index yes
records_without_userid ip
use_comma no
topsites_num 100
topsites_sort_order BYTES D
index_sort_order D
max_elapsed 28800000
report_type topsites sites_users users_sites date_time denied
auth_failures site_user_time_date
date_time_by bytes
charset Latin1
show_successful_message yes
show_read_statistics yes
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT
USED_TIME MILISEC %TIME TOTAL AVERAGE
topuser_num 0
site_user_time_date_type table
show_sarg_info yes
show_sarg_logo yes
displayed_values abbreviation
download_suffix
"zip,arj,bzip,gz,ace,doc,iso,adt,bin,cab,com,dot,drv$,lha,lzh,mdb,mso,ppt,rtf,src,shs,sys,exe,dll,mp3,avi,mpg,mpeg"
6. vi /etc/crontab, add following lines at the end of file.
#SARG Report
10 00 * * * root /usr/sbin/sarg.daily
00 01 * * 1 root /usr/sbin/sarg.weekly
30 04 1 * * root /usr/sbin/sarg.monthly
--- On Wed, 26/11/08, Neelesh Raje <[EMAIL PROTECTED]> wrote:
From: Neelesh Raje <[EMAIL PROTECTED]>
Subject: [LinuxVadaPav] SARG document
To: [EMAIL PROTECTED], "linux_ipsr" <[EMAIL PROTECTED]>, "linuxvadapav"
<[email protected]>, [EMAIL PROTECTED]
Date: Wednesday, 26 November, 2008, 9:39 AM
Dear all,
Need a document on installation and configuration of SARG
thanks and regards,
neelesh
Be the first one to try the new Messenger 9 Beta! Go to http://in.messenger
.yahoo.com/ win/
[Non-text portions of this message have been removed]
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/
[Non-text portions of this message have been removed]