Sarg

From SME Server
Revision as of 06:20, 29 June 2007 by Snoble (talk | contribs) (New page: == Sarg for SME Server == === Maintainer === [http://www.dungog.net Dungog] (Software) === Description === *Sarg provides comprehensive reporting on the Squid web proxy usage. Orginat...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sarg for SME Server

Maintainer

Dungog (Software)

Description

  • Sarg provides comprehensive reporting on the Squid web proxy usage.

Orginates from http://www.dungog.net/sme/dansguardian.php#sarg

Installation

1. Log in (with username root) to the SMEserver console.

2. If you already enabled Dungog repo, skip down to 4.

3. The following command will configure the Dungog repository on SME Server. The dungog repository will no longer be updated. All the contribs from this repository have been moved to the smecontribs repository.

DungogMember contribs are still at http://www.dungog.net After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

4. Install sarg and smeserver-sarg

yum --enablerepo=dungog install smeserver-sarg

5. The following commands are not required:

signal-event post-upgrade; signal-event reboot

6. Open YOURSERVER/server-manager in a web browser

Configuration > web statistics and review settings.

Check installed version

yum info installed *sarg

That will show both packages.

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

  • todo

Dansguardian

set sarg to look for dansguardian logs

/usr/bin/sarglog dansguardian

also set dansguardian to save logs in squid format logs in dansguardian format are ignored, (you may need to force a rotation)


Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-sarg component or use this link .

Tested software versions


Overview of used software packages
Package Arch Version Repository Size
smeserver-sarg noarch 2.2.1-4 dungog 14 k
sarg noarch 2.2.1-1.el4.rf dungog 1.3 M