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

    No puedo configurar SARG

    Scheduled Pinned Locked Moved Español
    17 Posts 3 Posters 11.3k Views
    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.
    • marcellocM
      marcelloc
      last edited by

      Why dont' you try sarg package for pfsense?

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • pozoleroP
        pozolero Rebel Alliance
        last edited by

        Thanks for the answer.

        I did, but the package can not be configured properly… I think I need to get hands on the configuration in package sarg for pfsense.

        Thanks again.  :D

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

          I'ts working for me. what errors are you getting on sarg package?

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • pozoleroP
            pozolero Rebel Alliance
            last edited by

            @marcelloc:

            I'ts working for me. what errors are you getting on sarg package?

            Let me post for you few images… i'll be back in 20 minutes  ;D

            1 Reply Last reply Reply Quote 0
            • pozoleroP
              pozolero Rebel Alliance
              last edited by

              @marcelloc:

              I'ts working for me. what errors are you getting on sarg package?

              Here are the errors

              1 Reply Last reply Reply Quote 0
              • pozoleroP
                pozolero Rebel Alliance
                last edited by

                @marcelloc:

                I'ts working for me. what errors are you getting on sarg package?

                This is my sarg configuration





                I need to say that i already try to make different configurations and none worked, it keeps telling that there's an error…

                Best regards  ;D

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

                  I can't read your sarg options,

                  update package to the latest version and check my setup with yours

                  General tab
                  Proxy server:
                     squid

                  report options:
                     use graphics where possible
                     remove temporary files
                     generate the main index.html
                     generate the index tree
                     overwrite report
                     use comma instead poing

                  reports to generate:
                     all selected

                  user tab
                     User Sort Field: bytes

                  schedule
                     on 1h none Hora em Hora      
                     on 1d rotate A cada dia

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • perikoP
                    periko
                    last edited by

                    Yo no he usado aun el paquete que ya hizo marcelloc.

                    Hola pozolero.

                    jajajaja es post es viejo ya ni me acordaba de el, bien mira el mi blog viene el proceso, quiero pensar que te falto darle el bit de ejecucion a el script, puedes revisar mi blog y me dices si con ese resolvistes el problema o no, este es:

                    http://pheriko.blogspot.com/2012/03/pfsense-2x-reporte-sarg-para-squid.html

                    Este lo hice antes de que marcelloc sacara el paquete para pfsense.

                    Saludos  ;D

                    Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                    www.bajaopensolutions.com
                    https://www.facebook.com/BajaOpenSolutions
                    Quieres aprender PfSense, visita mi canal de youtube:
                    https://www.youtube.com/c/PedroMorenoBOS

                    1 Reply Last reply Reply Quote 0
                    • pozoleroP
                      pozolero Rebel Alliance
                      last edited by

                      @marcelloc:

                      I can't read your sarg options,

                      update package to the latest version and check my setup with yours

                      General tab
                      Proxy server:
                         squid

                      report options:
                         use graphics where possible
                         remove temporary files
                         generate the main index.html
                         generate the index tree
                         overwrite report
                         use comma instead poing

                      reports to generate:
                         all selected

                      user tab
                         User Sort Field: bytes

                      schedule
                         on 1h none Hora em Hora      
                         on 1d rotate A cada dia

                      Sorry for any issues…

                      I'll try this options at work, sadly i'm at home now...

                      I'll keep in touch.

                      Best regards

                      1 Reply Last reply Reply Quote 0
                      • perikoP
                        periko
                        last edited by

                        He configurado sarg en varias ocaciones.

                        A veces he tenido que reinstalar pfsense que no es nada dificil ni tardado ya que veces algo se queda por ahi que no me deja continuar.

                        Parece que ya tenemos una sopa aqui, instalastes el sarg de los paquetes de pfsense e intentastes seguir mi procedimiento en la misma maquina(reinstalastes)?

                        Este error es :

                        I can't read your sarg options,

                        Me suena que en tu script algo no le concuerda y como que no esta dando con el archivo de config de sarg o algun parametro, basado en mi blog:

                        /root/scripts/sarg-reports.sh

                        Tenemos una seccion como esta

                        SARG=/usr/local/bin/sarg
                        CONFIG=/usr/local/etc/sarg/sarg.conf
                        HTMLOUT=/usr/local/www/squid-reports

                        Sarg se instala en esa ruta, y ese achivo debe estar configurado con nuestras opciones, ahora si estas basandote en el paque de marcelloc desconozco donde pone sus archivos, pero es cuestion de buscarlos y leer
                        la configuracion de sarg a lo mejor algo quedo por ahi mal hubicado.

                        Quedamos a el pendiente…!!!

                        Si sabes ejecutar scripts en freebsd/pfsense, no hay problema  en esta parte?

                        Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                        www.bajaopensolutions.com
                        https://www.facebook.com/BajaOpenSolutions
                        Quieres aprender PfSense, visita mi canal de youtube:
                        https://www.youtube.com/c/PedroMorenoBOS

                        1 Reply Last reply Reply Quote 0
                        • pozoleroP
                          pozolero Rebel Alliance
                          last edited by

                          @marcelloc:

                          I can't read your sarg options,

                          update package to the latest version and check my setup with yours

                          General tab
                          Proxy server:
                             squid

                          report options:
                             use graphics where possible
                             remove temporary files
                             generate the main index.html
                             generate the index tree
                             overwrite report
                             use comma instead poing

                          reports to generate:
                             all selected

                          user tab
                             User Sort Field: bytes

                          schedule
                             on 1h none Hora em Hora      
                             on 1d rotate A cada dia

                          Didn't work  :(

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

                            take a look on this topico.

                            http://forum.pfsense.org/index.php/topic,49135.0.html

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • pozoleroP
                              pozolero Rebel Alliance
                              last edited by

                              @marcelloc:

                              take a look on this topico.

                              http://forum.pfsense.org/index.php/topic,49135.0.html

                              Obrigado Marcelloc

                              Thanks Marcelloc

                              1 Reply Last reply Reply Quote 0
                              • pozoleroP
                                pozolero Rebel Alliance
                                last edited by

                                No se que hice, pero marcelloc me paso un link y de ese link solo volvi a copiar la ruta de donde guarda squid sus logs…y le di salvar al archivo de configuracion de sarg y ya me deja ver los reportes...

                                Quiero mencionar que sarg si me dejaba ver los reportes en vivo, pero no los guardados, el que viene en la pestaña "View report"

                                Muchas gracias estamos pendientes...


                                I don't know what i've done, but marcelloc gave me a link, just copied the path where squid saves logs...saved sarg.config file and i can now see reports.

                                I need to say that sarg allowed me to see the realtime reports, but not the saved ones, those who come in "View report" tab.

                                Thanks a lot.

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

                                  Did you created a schedule and forced sarg to run?

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • pozoleroP
                                    pozolero Rebel Alliance
                                    last edited by

                                    @marcelloc:

                                    Did you created a schedule and forced sarg to run?

                                    I did create a schedule, 1 rule for each hour doing nothing, and another for 1 day rotating logs…  I don't know if i forced sarg to run... It just started to function properly...  ???

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.