Line 9: |
Line 9: |
| === Description === | | === Description === |
| | | |
− | [http://sarg.sourceforge.net/ Sarg] génères un rapport détaillé du serveur proxy Squid. | + | [http://sarg.sourceforge.net/ Sarg] génère un rapport détaillé du serveur web proxy Squid. |
| | | |
| === Installation === | | === Installation === |
| ====pour sme8==== | | ====pour sme8==== |
− | Cette contrib est disponible dans le dépôt smecontibs. | + | Cette contrib est disponible dans le dépôt smecontribs. |
| yum --enablerepo=smecontribs install smeserver-sarg | | yum --enablerepo=smecontribs install smeserver-sarg |
| | | |
− | Aucun besoin de redémarrage. | + | Aucun besoin de redémarrer. |
| | | |
| Ouvrir yourserver/server-manager dans votre navigateur web. | | Ouvrir yourserver/server-manager dans votre navigateur web. |
Line 40: |
Line 40: |
| config set UnsavedChanges no | | config set UnsavedChanges no |
| | | |
− | Aucun besoin de redémarrage. | + | Aucun besoin de redémarer. |
| | | |
− | Ouvrir yourserver/server-manager dans vôtre navigateur web. | + | Ouvrir yourserver/server-manager dans votre navigateur web. |
| | | |
| Administration > SARG reports | | Administration > SARG reports |
| | | |
− | === Uninstall === | + | === Désinstallation === |
| rpm -e sarg smeserver-sarg | | rpm -e sarg smeserver-sarg |
| | | |
− | === Additional information === | + | === Information complémentaire=== |
| | | |
| http://sarg.sourceforge.net/sarg.php | | http://sarg.sourceforge.net/sarg.php |
| | | |
− | smeserver-sarg was was originally developed by Michel Van hees aka Master Sleepy, | + | smeserver-sarg a été créé originalement par Michel Van hees aka Master Sleepy, |
− | http://www.vanhees.cc Thanks Michel | + | http://www.vanhees.cc Merci Michel |
| | | |
− | ==== User Identification ==== | + | ==== Identification des usagers ==== |
| | | |
− | Enable Squid authentication for users to be correctly logged, see http://wiki.contribs.org/Dansguardian#Configuring_Proxy_to_use_Auth_login
| + | Activer l'authentification dans Squid pour que les usagers soit correctement identifiés, voir http://wiki.contribs.org/Dansguardian#Configuring_Proxy_to_use_Auth_login. |
| | | |
| ==== Dansguardian ==== | | ==== Dansguardian ==== |
− | set sarg to use dansguardian logs
| + | Configurer sarg pour utiliser les fichiers journaux de dansguardian. |
| /usr/bin/sarglog dansguardian | | /usr/bin/sarglog dansguardian |
| | | |
− | also set dansguardian to save logs in squid format<br>
| + | Aussi configurer dansguardian pour enregistrer les fichiers journaux dans le format de squid.<br> |
− | edit /etc/dansguardian/dansguardian.conf and change following value:
| + | Editer /etc/dansguardian/dansguardian.conf et changer le paramètre suivant : |
| logfileformat = 3 | | logfileformat = 3 |
− | logs in dansguardian format are ignored, (you may need to force a rotation)
| + | Les fichiers journaux dans le format dansguardian sont ignorés (vous devrez peut être forcer une rotation). |
| | | |
− | ==== Sarg Options ==== | + | ==== Options de Sarg ==== |
− | optional settings for sarg, first option is default
| + | Configuration optionnelle pour sarg, la première option est par défaut : |
| config setprop sarg language [English|Dutch|French|German|Spanish|Italian|...] | | config setprop sarg language [English|Dutch|French|German|Spanish|Italian|...] |
| config setprop sarg values [bytes|abbreviation] | | config setprop sarg values [bytes|abbreviation] |
Line 76: |
Line 76: |
| config setprop sarg lastlog [0|365|num.of.days.to.keep.logs] | | config setprop sarg lastlog [0|365|num.of.days.to.keep.logs] |
| | | |
− | expand-templates with | + | expand-templates avec |
| /usr/bin/sarglog | | /usr/bin/sarglog |
| | | |
− | ===Troubleshooting=== | + | ===Dépannage=== |
| | | |
− | The first time you try to run reports from the Sarg server manager panel, you may receive errors, saying their is no data available.
| + | La première fois que vous regardez les rapports du tableau de commande du serveur sarg, vous pouvez avoir une erreur disant ' no data available '. |
− | | + | Effectuer les commandes suivantes pour une mise à jour de sarg depuis les fichiers journaux. |
− | Run the following commands to update sarg from the log files.
| |
| /usr/bin/sarg | | /usr/bin/sarg |
| /etc/cron.daily/sarg | | /etc/cron.daily/sarg |
Line 90: |
Line 89: |
| | | |
| === Bugs === | | === Bugs === |
− | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-sarg component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sarg|title=this link}}.
| |
| | | |
− | === Tested software versions === | + | Reportez tous les bugs dans SME-Contribs dans la section {{BugzillaFileBug|product=|component=|title=bugzilla}}et sélectionner la composante smeserver-sarg ou utiliser {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sarg|title=ce lien}}. |
| + | |
| + | === Versions des programmes testés === |
| * Host: SME Server v7.2, v7.5.1 | | * Host: SME Server v7.2, v7.5.1 |
| * Installed: smeserver-sarg 2.2.1-6.el4.sme | | * Installed: smeserver-sarg 2.2.1-6.el4.sme |
Line 100: |
Line 100: |
| ---- | | ---- |
| | | |
− | [[Category: Contrib]] | + | [[Category: Contrib/fr]] |
| [[Category: Dungog]] | | [[Category: Dungog]] |
| [[Category: Administration:Monitoring]] | | [[Category: Administration:Monitoring]] |