| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

SARG - Gerador de relatórios de Acesso a Web

Page history last edited by PBworks 12 years, 8 months ago

 

SARG - Gerador de relatórios de acesso a Web

 

O Sarg é uma ferramente que nos permite gerar relatórios de acesso a internet

 

Site Oficial: http://sarg.sourceforge.net/pt-sarg.php

 

 

Pré-Requisitos

 

    Ter o Apache2 instalado e rodando no micro

 

Download

 

    Faça o download do pacote RPM a partir do site oficial para a sua distribuição Linux e instale.

 

    # rpm -ihv sarg-xxxxx.rpm

 

 

Configuração

 

    O arquivo de configuração é o /etc/sarg/sarg.conf (ou /etc/sang.conf - depende da instalção)

 

    # cp sarg.conf sarg.conf.original

    # vi sarg.conf

 

   Altere as seguinte Linhas

access_log /var/log/squid/access.log
title "relatorios de Acesso a Internet"
temporary_dir /tmp
output_dir /srv/www/default/html/squid-reports
resolve_ip yes
user_sort_field BYTES reverse
date_format u
lastlog 0
remove_temp_files yes
index yes
overwrite_report yes
use_comma no
topsites_num 100
topsites_sort_order CONNECT D
index_sort_order D
exclude_codes /etc/sarg/exclude_codes
max_elapsed 28800000
report_type topsites sites_users users_sites date_time denied auth_failures site_user_time_date
date_time_by bytes
charset Latin1
show_successful_message yes
show_read_statistics yes
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
site_user_time_date_type table
hours 0-23
displayed_values abbreviation
user_report_limit 0

 

   

   

 

 

 

 

Comments (0)

You don't have permission to comment on this page.