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

    Sarg package

    Scheduled Pinned Locked Moved pfSense Packages
    14 Posts 6 Posters 12.7k 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.
    • J
      joaohf
      last edited by

      Hello

      Recently I began tests and some developing a pfsense package for sarg. Following the documentation in the forum and tests.

      Here is the sarg.xml and sarg.inc

      Some configurations is make via webgui and sarg-realtime is set too.

      Any doubt, please contact me. ;)
      sarg.png
      sarg.png_thumb
      sarg_inc.txt
      sarg_xml.txt

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        I join to test. But on monday  ::)

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • D
          dvserg
          last edited by

          How i can install sarg?

          –----------

           <modify_system><modifyfilename>/etc/crontab</modifyfilename>
           <textneeded>0       0       *       *       *       root    /usr/local/bin/sarg 2>&1 /dev/null && /usr/local/sbin/squid -k rotate > /dev/null</textneeded></modify_system> 
          

          Realy need change '/etc/crontab'? In FreeBSD book's it's not recomended
          User task's recomended put to /var/cron/tabs/root

          0       0       *       *       *       /usr/local/bin/sarg 2>&1 /dev/null && /usr/local/sbin/squid -k rotate > /dev/null
          

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • J
            joaohf
            last edited by

            You can install by:

            pkg_add -r sarg
            

            Or, if you set the pkg_config.xml:

             <package><name>sarg</name>
                  <descr>Sarg</descr>
                  <website>http://sarg.sf.net/</website>
                  <category>Services</category>
                  <version>0.1</version>
                  <status>BETA</status>
                  <required_version>1.0</required_version>
                  <maintainer>joaohf@gmail.com</maintainer>
                  <depends_on_package_base_url>http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All</depends_on_package_base_url>
                  <depends_on_package>sarg-2.2.3.1.tbz</depends_on_package>
                  <config_file>http://10.0.2.40/packages/config/sarg.xml</config_file>
                  <configurationfile>sarg.xml</configurationfile></package> 
            

            About, crontab. I will change this and create a butom in the webgui to run sarg.

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              This package also needs to utilize the new cron features that are in 1.2.

              We branch for BETA today so the new version is not far off..

              1 Reply Last reply Reply Quote 0
              • J
                joaohf
                last edited by

                Ok,

                What is the new cron features? Where i could find documentation about them?

                I will rework the sarg package.

                1 Reply Last reply Reply Quote 0
                • D
                  dvserg
                  last edited by

                  @joaohf:

                  Ok,

                  What is the new cron features? Where i could find documentation about them?

                  I will rework the sarg package.

                  Lookin this topic and last my sources
                  http://forum.pfsense.org/index.php?topic=1176.30

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply Reply Quote 0
                  • J
                    joaohf
                    last edited by

                    Thanks, I read the sources and rework on the package sarg. I will test and report where.

                    PS: Did the pfsense project use phpdoc for documentations of the sources? or any documentation system?

                    1 Reply Last reply Reply Quote 0
                    • B
                      bsider
                      last edited by

                      any news?

                      1 Reply Last reply Reply Quote 0
                      • B
                        bsider
                        last edited by

                        i tried to install sarg - i could log on to sarg config page, but sarg-realtime shows no info (though the page is generated) and Sarg-View shows "404 - Not Found"  :(

                        1 Reply Last reply Reply Quote 0
                        • S
                          Snailer
                          last edited by

                          could u plz tell for us noobs at the topicstart, what sargs is, and what it do plz?  :)

                          1 Reply Last reply Reply Quote 0
                          • J
                            joaohf
                            last edited by

                            Ok,

                            I am very busy, but have done some improvements in the sarg packages. Before post the code, I will test and release here soon

                            Sarg is a report generator for the squid access logs.

                            1 Reply Last reply Reply Quote 0
                            • J
                              joaohf
                              last edited by

                              Hello,

                              Before some fixes and rework in various parts of code (basead on squidlight packages) I post the sarg packages for  pfsense communinty

                              pkg_config.xml.txt
                              sarg.inc.txt
                              sarg.xml.txt
                              sarg_visual.xml.txt

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

                                Hi!

                                Could you post a quick instruction about how to install your test package in pfSense?

                                Tks!

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