[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

подсчёт трафика+sarg



Всем привет!
Поздравляю всех с "Днем Татьяны"

Возникла следующая проблема, сбился с ног, куда смотреть не знаю. 
При запуске sarg выдает следующее

#sarg -d 1/01/2008-data=`date "+%d/%m/%Y"`
SARG: Записи не найдены
SARG: Завершено

не могу понять почему не может найти записи, лог squid, access.log весит 1,8M 
#du -h access.log
1,8M    access.log

версия sarg SARG Version: 2.2.3.1 Jan-02-2007
squid настроен с авторизацией пользователей по паролю

вот конфиг sarg

# sarg.conf
language Russian_UTF-8
access_log /var/log/squid/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
#logo_image none
logo_text_color #000000
password /etc/squid/passwd
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 e
per_user_limit /etc/squid/alc/user-deny 100
lastlog 0
remove_temp_files yes
index yes
index_tree file
filename.n+1
overwrite_report yes
records_without_userid ip
use_comma yes
mail_utility mailx
topsites_num 100
topsites_sort_order CONNECT D
index_sort_order D
exclude_codes /etc/squid/sarg.exclude_codes
max_elapsed 28800000
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
usertab /etc/squid/sarg.usertab
long_url no
date_time_by bytes
charset Koi8-r
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 0
site_user_time_date_type table
show_sarg_info yes
show_sarg_logo yes
displayed_values bytes
 user_authentication yes
 AuthUserFile /etc/squid/passwd
 AuthName "SARG, Restricted Access"
 AuthType Basic
 Require user andrey %u


-- 
С уважением,
Андрей Герасимов
-=-=-=-=-=-=-=-=-=-=-=-=-
Jabber:  andger@jabber.org
Blog:  http://andgera.livejournal.com/
-=-=-=-=-=-=-=-=-=-=-=-=-
[ - Вовочка, завтpа без мамы в школу не пpиходи! - А как же тачка без мозгов 
будет ]
_*__
 AmaroK ==> ....

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: