Enviado em 08/02/2012 - 17:09h
Boa tarde, rapaziada, alguem sabe me dizer, como faço para o relatório sarg, gerar o acessar DENIED por nome de usuário autentica e não pelo IP ?
segue sarg.conf
#sarg.conf
language Portuguese
access_log /var/log/squid/access.log
title "Kurumin, log de acessos através do proxy"
font_face Arial
header_color darkblue
header_bgcolor blanchedalmond
header_font_size -1
background_color white
text_color black
text_bgcolor white
title_color green
logo_image none
temporary_dir /tmp
output_dir /var/www/squid-reports
resolve_ip no
user_ip no
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users /etc/squid/sarg.users
exclude_hosts /etc/squid/sarg.hosts
date_format u
lastlog 90
remove_temp_files yes
index yes
overwrite_report yes
records_without_userid ignore
use_comma no
mail_utility mailx
topsites_num 40
topsites_sort_order CONNECT D
index_sort_order D
exclude_codes /etc/squid/sarg.exclude_codes
max_elapsed 28800000
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
usertab /etc/squid/sarg.usertab
long_url no
date_time_by bytes
charset Latin1
show_successful_message no
show_read_statistics no
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
topuser_num 20
site_user_time_date_type table
displayed_values bytes
sds.
segue sarg.conf
#sarg.conf
language Portuguese
access_log /var/log/squid/access.log
title "Kurumin, log de acessos através do proxy"
font_face Arial
header_color darkblue
header_bgcolor blanchedalmond
header_font_size -1
background_color white
text_color black
text_bgcolor white
title_color green
logo_image none
temporary_dir /tmp
output_dir /var/www/squid-reports
resolve_ip no
user_ip no
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users /etc/squid/sarg.users
exclude_hosts /etc/squid/sarg.hosts
date_format u
lastlog 90
remove_temp_files yes
index yes
overwrite_report yes
records_without_userid ignore
use_comma no
mail_utility mailx
topsites_num 40
topsites_sort_order CONNECT D
index_sort_order D
exclude_codes /etc/squid/sarg.exclude_codes
max_elapsed 28800000
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
usertab /etc/squid/sarg.usertab
long_url no
date_time_by bytes
charset Latin1
show_successful_message no
show_read_statistics no
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
topuser_num 20
site_user_time_date_type table
displayed_values bytes
sds.