SQUID

SQUID . -. - SQUID webalizer sarg. .
sarg - sarg.

sarg

sarg () html-

:

x86
Linux ( ASPLinux 7.1/7.2/7.3/9.0, ALTLinux Master 2.0/2.2, -)
SQUID ( 2.4 stable5)
WEB- apache ( )
sarg 1.1 ( ) .



apache

web-
sarg
/etc/sarg/sarg.conf.default /etc/sarg/sarg.conf

( )
language Russian_koi8 -8
access_log /var/log/squid/access -
title "Squid User Access Reports for proxy" html-
temporary_dir /tmp , sarg - sarg !!! , - SQUID
output_dir /var/www/html/squid (index.html) sarg. apache .
output_email [none|mail@domen] | mail@domen
resolve_ip [no|yes] | ip- dns
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users none
exclude_hosts none
date_format [e|u] |
per_user_limit none
lastlog 0
remove_temp_files yes
index yes
overwrite_report no
records_without_userid ip|ignore|everybody, - ( ip-|| ""
use_comma no ip-
mail_utility mailx
topsites_num 100-
topsites_sort_order [CONNECT|BYTES] [D|A] ( | , |
max_elapsed 28800000 - !
usertab [none| ] | ip- - -)))
long_url [no|yes] | ( , -
charset WINDOWS-1251 html-


-, : .. squid -k rotate -.


, 2003 -)))


1. - squid ( access.log.1.gz). 5 : access.log.1.gz, access.log.2.gz, access.log.3.gz, access.log.4.gz, access.log.5.gz
2. , (access.log.5.gz) access
3. :
/usr/sbin/sarg -d 01/06/2003-30/06/2003 -f /etc/sarg/sarg.conf
......



sarg cron logrotate
/log/squid/access.log.1

!!!