Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    SARG

    Portuguese
    3
    13
    1682
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Blad Runner last edited by

      Meu SARG só fica assim e não mostra relatório nenhum, já o LIGHTSQUID ta beleza.

      Ajuda por favor!!

      1 Reply Last reply Reply Quote 0
      • marcelloc
        marcelloc last edited by

        Marcando o squid na configuração do sarg, ele procura os logs em /var/squid/logs/access.log

        você já conferiu onde você configurou os logs do squid?

        1 Reply Last reply Reply Quote 0
        • B
          Blad Runner last edited by

          aqui:
          Log store directory:
          /var/squid/log

          o lightsquid busca daí se não me engano e está gerando os relatórios normalmente.

          1 Reply Last reply Reply Quote 0
          • marcelloc
            marcelloc last edited by

            você esta usando a última versão do lightsquid? este "erro" de configuração já foi corrigido.

            A configuração padrão do squid é guardar os logs em /var/squid/logs.

            1 Reply Last reply Reply Quote 0
            • B
              Blad Runner last edited by

              a versão que estou usando é a LightSquid v1.8

              Minha configuração do SARG o que pode ta errado ai??

              Meu proxy:

              1 Reply Last reply Reply Quote 0
              • marcelloc
                marcelloc last edited by

                /var/squid/logs no lugar de /var/squid/log

                1 Reply Last reply Reply Quote 0
                • B
                  Blad Runner last edited by

                  Fiz este procedimento mesmo assim não funcionou, restartei o squid tbm e nada.

                  1 Reply Last reply Reply Quote 0
                  • marcelloc
                    marcelloc last edited by

                    Veja se existe o log no file system e se o arquivo tem conteúdo.

                    1 Reply Last reply Reply Quote 0
                    • A
                      atsuma last edited by

                      Acesse o gui e vá em Status/edit.
                      Navegue até até >>> /usr/local/etc/sarg/sarg.conf

                      Procure pela linha>>> realtime_refresh_time 3 e veja se antes esta marcado um sustenido "#", remova-o e faça o teste.

                      OBS: Lembrando que você esta mexendo na conf, e se salvar no agendamento, ele escreve novamente a conf.

                      1 Reply Last reply Reply Quote 0
                      • marcelloc
                        marcelloc last edited by

                        AtsumA,

                        Este parâmetro do real time log  já é tratado pelo pacote quando  a ação é acionada

                        1 Reply Last reply Reply Quote 0
                        • B
                          Blad Runner last edited by

                          Não tem sustenido e está com time 0

                          TAG: realtime_refresh_time num sec

                          #      How many time to auto refresh the realtime report
                          #      0 = disable

                          realtime_refresh_time 0

                          TAG: realtime_access_log_lines num

                          #      How many last lines to get from access.log file

                          realtime_access_log_lines 1000

                          TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST

                          #      Which records must be in realtime report.

                          realtime_types GET,PUT,CONNECT

                          TAG: realtime_unauthenticated_records: ignore|show

                          #      What to do with unauthenticated records in realtime report.

                          realtime_unauthenticated_records show

                          TAG: byte_cost value no_cost_limit

                          #      Cost per byte.
                          #      Eg. byte_cost 0.01 100000000
                          #          per byte cost      = 0.01
                          #          bytes with no cost = 100 Mb
                          #      0 = disable

                          1 Reply Last reply Reply Quote 0
                          • marcelloc
                            marcelloc last edited by

                            o detalhe do meu post anterior é o "…quando  a ação é acionada..."

                            sugiro olhar o código fonte que gera os arquivos de configuração do sarg e o php da aba real time para entender melhor como a ferramenta funciona.

                            1 Reply Last reply Reply Quote 0
                            • A
                              atsuma last edited by

                              o minimo que pode colocar são de 3 segundos.Então mude para 3 e faça o teste.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Products

                              • Platform Overview
                              • TNSR
                              • pfSense
                              • Appliances

                              Services

                              • Training
                              • Professional Services

                              Support

                              • Subscription Plans
                              • Contact Support
                              • Product Lifecycle
                              • Documentation

                              News

                              • Media Coverage
                              • Press
                              • Events

                              Resources

                              • Blog
                              • FAQ
                              • Find a Partner
                              • Resource Library
                              • Security Information

                              Company

                              • About Us
                              • Careers
                              • Partners
                              • Contact Us
                              • Legal
                              Our Mission

                              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                              Subscribe to our Newsletter

                              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                              © 2021 Rubicon Communications, LLC | Privacy Policy