in

Install binary package: sarg-2.2.5-01vit.{fc8.i386,el4.x86_64}.rpm

Note: The standard SARG packages from the DAG repository sarg-2.2.3-1.{el4.x64,el4.i386,fc8.i386}.rpm are based on unpatched SARG distribution. It crashes frequently. For details see the source RPM sarg-2.2.5-01vit.fc8.src.rpm.

Disable in virtual hosts:

cd /etc/httpd/conf.d
mv sarg.conf sarg.conf.disable

Verify the sarg clause of apache config

Modify a few settings in /etc/sarg/sarg.conf:

language Russian_UTF-8
graphs yes
graph_days_bytes_bar_color orange
title "Статистика доступа к Интернет-ресурсам"
resolve_ip yes
user_ip no
overwrite_report yes
report_type topusers topsites sites_users users_sites date_time denied
            auth_failures site_user_time_date downloads
long_url yes
show_sarg_info no
show_sarg_logo no
external_css_file /var/www/sarg/sarg.css

Default SARG templates do not support russian and the fonts are too small, so install

Manually create initial contents

/etc/cron.daily/sarg
/etc/cron.weekly/sarg
/etc/cron.monthly/sarg
sarg

Attachments

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.