Difference between revisions of "Sarg"
(→Dansguardian: detail) |
m (→Installation) |
||
Line 9: | Line 9: | ||
=== Installation === | === Installation === | ||
+ | This contrib can be found in the smecontribs repository. | ||
+ | yum --enablerepo=smecontribs install install smeserver-sarg | ||
− | + | No need to reboot. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Open yourserver/server-manager in a web browser | Open yourserver/server-manager in a web browser |
Revision as of 06:01, 21 January 2008
Sarg for SME Server
Maintainer
Dungog (Software)
Description
- Sarg provides comprehensive reporting on the Squid web proxy usage.
Installation
This contrib can be found in the smecontribs repository.
yum --enablerepo=smecontribs install install smeserver-sarg
No need to reboot.
Open yourserver/server-manager in a web browser
Configuration > Web Statistics enable and review settings.
Uninstall
yum remove sarg
This will also remove smeserver-sarg.
Additional information
http://sarg.sourceforge.net/sarg.php
smeserver-sarg was was originally developed by Michel Van hees aka Master Sleepy, http://www.vanhees.cc Thanks Michel
User Identification
Enable Squid authentication for users to be correctly logged, see http://wiki.contribs.org/Dansguardian#Configuring_Proxy_to_use_Auth_login
Dansguardian
set sarg to use dansguardian logs
/usr/bin/sarglog dansguardian
also set dansguardian to save logs in squid format
edit /etc/dansguardian/dansguardian.conf and change following value:
logfileformat = 3
logs in dansguardian format are ignored, (you may need to force a rotation)
Sarg Options
optional settings for sarg, first option is default
config setprop sarg language [English|Dutch|French|German|Spanish|Italian|...] config setprop sarg values [bytes|abbreviation] config setprop sarg logfile [squid|dansguardian] config setprop sarg lastlog [0|365|num.of.days.to.keep.logs]
expand-templates with
/usr/bin/sarglog
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-sarg component or use this link .
Tested software versions
- Host: SMEserver v7.2
- Installed: smeserver-sarg 2.2.1-4.el4.sme
- Dependency Installed: sarg 2.2.1-1.el4.rf