Sir Arthur
22.03.2007, 09:46
На старой проксе все было нормально, выводил отчеты по дням. Перенес проксю на новое железо стал гнать отчеты нарастающим итогом
proxy ~ # ls -al /usr/www/localhost/htdocs/squid-reports/
total 69
drwxrwxrwx 20 squid squid 800 Mar 22 00:20 .
drwxr-xr-x 122 root root 4144 Mar 22 00:20 28Feb2007-21Mar2007
proxy ~ #
по sarg -d date-date отрабатывает нормально
proxy ~ # sarg -d 21/03/2007-21/03/2007
SARG: Records in file: 5543164, reading: 100.00%
SARG: нРВЕР СЯОЕЬМН ЯЦЕМЕПХПНБЮМ Б: /usr/www/localhost/htdocs/squid-reports/21Mar2007-21Mar2007
proxy ~ #
конфиг сарга
proxy ~ # cat /etc/sarg/sarg.conf
#sarg conf
language Russian_windows1251
access_log /var/log/squid/access.log
graphs yes
graph_days_bytes_bar_color orange
title "Usage Internet resources Reports"
font_face Tahoma,Verdana,Arial
header_color darkblue
header_bgcolor blanchedalmond
font_size 12px
header_font_size 12px
title_font_size 14px
background_color white
text_color #000000
text_bgcolor lavender
title_color green
temporary_dir /tmp
output_dir /usr/www/localhost/htdocs/squid-reports
output_email none
resolve_ip yes
date_format e
#per_user_limit none
lastlog 30
remove_temp_files yes
index yes
index_tree file
overwrite_report yes
records_without_userid ip
topsites_num 300
index_sort_order D
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
#long_url yes
charset Windows-1251
#Latin1
user_invalid_char "&/"
show_successful_message yes
show_read_statistics yes
site_user_time_date_type table
weekdays 1,2,3,4,5
hours 8,9,10,11,12,13,14,15,16,17,18,19,20,21
show_sarg_info no
show_sarg_logo no
proxy ~ #
proxy ~ # ls -al /usr/www/localhost/htdocs/squid-reports/
total 69
drwxrwxrwx 20 squid squid 800 Mar 22 00:20 .
drwxr-xr-x 122 root root 4144 Mar 22 00:20 28Feb2007-21Mar2007
proxy ~ #
по sarg -d date-date отрабатывает нормально
proxy ~ # sarg -d 21/03/2007-21/03/2007
SARG: Records in file: 5543164, reading: 100.00%
SARG: нРВЕР СЯОЕЬМН ЯЦЕМЕПХПНБЮМ Б: /usr/www/localhost/htdocs/squid-reports/21Mar2007-21Mar2007
proxy ~ #
конфиг сарга
proxy ~ # cat /etc/sarg/sarg.conf
#sarg conf
language Russian_windows1251
access_log /var/log/squid/access.log
graphs yes
graph_days_bytes_bar_color orange
title "Usage Internet resources Reports"
font_face Tahoma,Verdana,Arial
header_color darkblue
header_bgcolor blanchedalmond
font_size 12px
header_font_size 12px
title_font_size 14px
background_color white
text_color #000000
text_bgcolor lavender
title_color green
temporary_dir /tmp
output_dir /usr/www/localhost/htdocs/squid-reports
output_email none
resolve_ip yes
date_format e
#per_user_limit none
lastlog 30
remove_temp_files yes
index yes
index_tree file
overwrite_report yes
records_without_userid ip
topsites_num 300
index_sort_order D
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
#long_url yes
charset Windows-1251
#Latin1
user_invalid_char "&/"
show_successful_message yes
show_read_statistics yes
site_user_time_date_type table
weekdays 1,2,3,4,5
hours 8,9,10,11,12,13,14,15,16,17,18,19,20,21
show_sarg_info no
show_sarg_logo no
proxy ~ #