File "sarg.conf"

Full path: /www/wwwroot/fabriciovc.eti.br/downloads/scripts/debian/xen/sarg.conf
File size: 6.05 KiB (6195 bytes)
MIME-type: text/x-c
Charset: utf-8

Download   Open   Back

# sarg.conf
#
language Portuguese

# TAG:  access_log file
access_log /var/log/squid/access.log

# TAG: graphs yes|no
graphs yes
graph_days_bytes_bar_color orange

# TAG:	title
title "Squid User Access Reports"

# TAG:	font_face
font_face Verdana,Arial,Tahoma

# TAG:	header_color
header_color darkblue

# TAG:	header_bgcolor
header_bgcolor blanchedalmond

# TAG:	font_size
font_size 9px

# TAG:	header_font_size
header_font_size 9px

# TAG:	title_font_size
title_font_size 11px

# TAG:	background_color
background_color white

# TAG:	text_color
text_color #000000

# TAG:	text_bgcolor
text_bgcolor lavender

# TAG:	title_color
title_color green

# TAG:	logo_image
#logo_image none

# TAG:	logo_text
#logo_text ""

# TAG:	logo_text_color
#logo_text_color #000000

# TAG:	logo_image_size
#image_size 80 45

# TAG:	background_image
#background_image none

# TAG:  password
#password none

# TAG:  temporary_dir
temporary_dir /tmp

# TAG:  output_dir
#output_dir /var/www/html/squid-reports
output_dir /var/www/squid-reports

# TAG:  output_email
#output_email none

# TAG:  resolve_ip yes/no
resolve_ip 

# TAG:  user_ip yes/no
user_ip no

# TAG:  topuser_sort_field field normal/reverse
topuser_sort_field BYTES reverse

# TAG:  user_sort_field field normal/reverse
user_sort_field BYTES reverse

# TAG:  exclude_users file
exclude_users /etc/squid/sarg.users

# TAG:  exclude_hosts file
exclude_hosts /etc/squid/sarg.hosts

# TAG:  useragent_log file
#useragent_log none

# TAG:  date_format
date_format e

# TAG:  per_user_limit file MB
#per_user_limit none

# TAG: lastlog n
#      0 - no limit.
lastlog 30

# TAG: remove_temp_files yes
remove_temp_files yes

# TAG: index yes|no|only
index yes

# TAG: index_tree date|file
index_tree file

# TAG: overwrite_report yes|no
overwrite_report yes

# TAG: records_without_userid ignore|ip|everybody
records_without_userid ip

# TAG: use_comma no|yes
use_comma yes

# TAG: mail_utility mail|mailx
mail_utility mailx

# TAG: topsites_num n
topsites_num 100

# TAG: topsites_sort_order CONNECT|BYTES A|D (where A=Ascendent, D=Descendent)
topsites_sort_order CONNECT D

# TAG: index_sort_order A/D (where A=Ascendent, D=Descendent)
index_sort_order D

# TAG: exclude_codes file (Eg.: NONE/400)
exclude_codes /etc/squid/sarg.exclude_codes

# TAG: replace_index string
#replace_index <?php echo str_replace(".", "_", $REMOTE_ADDR); echo ".html"; ?>

# TAG: max_elapsed milliseconds
#max_elapsed 0
# 8 Hours
max_elapsed 28800000

# TAG: report_type type
#      Eg.: report_type topsites denied 
#report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads

# TAG: usertab filename
#      Table syntax: userid name   or   ip address name
#      Eg:
#		SirIsaac Isaac Newton
#		vinci Leonardo da Vinci
#		192.168.10.1 Karol Wojtyla
usertab /etc/squid/sarg.usertab

# TAG: long_url yes|no
long_url no

# TAG: date_time_by bytes|elap
date_time_by bytes

# TAG: charset name
charset Latin1

# TAG: user_invalid_char "&/"
#user_invalid_char "&/"

# TAG: privacy yes|no
#privacy no
#privacy_string "***.***.***.***"
#privacy_string_color blue

# TAG: include_users "user1:user2:...:usern"
#include_users none

# TAG: exclude_string "string1:string2:...:stringn"
#exclude_string none

# TAG: show_successful_message yes|no
show_successful_message no

# TAG: show_read_statistics yes|no
show_read_statistics no

# TAG: topuser_fields
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE

# TAG: user_report_fields
user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE

# TAG: topuser_num n
topuser_num 0

# TAG: site_user_time_date_type list|table
site_user_time_date_type table

# TAG: datafile file
#datafile none

# TAG: datafile_delimiter ";"
#datafile_delimiter ";"

# TAG: datafile_fields all
#datafile_fields user;date;time;url;connect;bytes;in_cache;out_cache;elapsed

# TAG: datafile_url ip|name
#datafile ip

# TAG: weekdays
# Example:
#weekdays 1-3,5
# Default:
#weekdays 0-6

# TAG: hours
# Example:
#hours 7-12,14,16,18-20
# Default:
#hours 0-23

# TAG: dansguardian_conf file
#dansguardian_conf none

# TAG: dansguardian_ignore_date on|off
#dansguardian_ignore_date off

# TAG: squidguard_conf file
#squidguard_conf none

# TAG: squidguard_ignore_date on|off
#squidguard_ignore_date off

# TAG: squidguard_log_format
#squidguard_log_format #year#-#mon#-#day# #hour# #tmp#/#list#/#tmp#/#tmp#/#url#/#tmp# #ip#/#tmp# #user# #end#

# TAG: show_sarg_info yes|no
#show_sarg_info yes

# TAG: show_sarg_logo yes|no
#show_sarg_logo yes

# TAG: parsed_output_log directory
#parsed_output_log none

# TAG: parsed_output_log_compress /bin/gzip|/usr/bin/bzip2|nocompress
#parsed_output_log_compress /bin/gzip

# TAG: displayed_values bytes|abbreviation
#displayed_values bytes

# Report limits
#authfail_report_limit 10
#denied_report_limit 10
#siteusers_report_limit 0
#squidguard_report_limit 10
#dansguardian_report_limit 10
#user_report_limit 10
#user_report_limit 50

# TAG: www_document_root dir
#www_document_root /var/www/html

# TAG: block_it module_url
#block_it none

# TAG: external_css_file path
#external_css_file none

# TAG: user_authentication yes|no
# user_authentication no
# AuthUserFile /usr/local/sarg/passwd
# AuthName "SARG, Restricted Access"
# AuthType Basic
# Require user admin %u

# TAG: download_suffix "suffix,suffix,...,suffix"
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"

# TAG: ulimit n
#ulimit 20000

# TAG: ntlm_user_format username|domainname+username
#ntlm_user_format domainname+username

# TAG: realtime_refresh_time num sec
# realtime_refresh_time 3

# TAG: realtime_access_log_lines num
# realtime_access_log_lines 1000

# TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST
# realtime_types GET,PUT,CONNECT  

# TAG: realtime_unauthenticated_records: ignore|show
# realtime_unauthenticated_records: ignore

# TAG: byte_cost value no_cost_limit
# byte_cost 0.01 50000000

PHP File Manager