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

    Sarg Reports Generation

    pfSense Packages
    3
    7
    1.3k
    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
      Brutos
      last edited by

      Hi Guys,

      I hope someone could help me so i have Sarg installed on pfsense 2.2 with squid3 3.4.10_2 and squidguard-devel 1.5. Squid and squidGuard is working fine issue i am having is with Sarg not generating reports unless i run ( Sarg -x or Sarg) from the cli. Only then will it generate a report automatically. I have a schedule setup to run every day frequency 23h.

      In the Logs i see this :

      php-fpm[43966]: /pkg_edit.php: Sarg: force refresh now with -d `date +%d/%m/%Y args, compress(on) and none action after sarg finish.

      php-fpm[43966]: /pkg_edit.php: The command 'export LC_ALL=C && /usr/pbi/sarg-amd64/bin/sarg -d `date +%d/%m/%Y' returned exit code '2', the output was ''

      Settings

      These are the reports generated by running the command manually via the CLI

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        What happens if you delete the extra arguments?

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

          the screenshot show only one ` on date arg

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

          Help a community developer! ;D

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

            @KOM:

            What happens if you delete the extra arguments?

            When you mean extra arguments what exactly are you referring to please? Sorry for my ignorance.

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

              @marcelloc:

              the screenshot show only one ` on date arg

              So what should the argument be please?

              Am a Novice with Sarg.

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

                Check the sample you copied. That is between two

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

                Help a community developer! ;D

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

                  @marcelloc:

                  Check the sample you copied. That is between two

                  Yes thank you..attention to detail such an easy thing to miss.

                  Thanks its working now.

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