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

    Sarg package for pfsense

    Scheduled Pinned Locked Moved pfSense Packages
    467 Posts 99 Posters 499.6k 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.
    • L
      Lectrician
      last edited by

      Hi.

      I updated Sarg too to try to fix the issue, but it didn't make a difference.  Sarg 2.3.6_2 pkg v.0.6.3

      What does the error above mean?

      Thanks.

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

        file permission. but I'm not getting it here. I have some sarg boxes and all are working fine.

        What pfsense version are you using? nanobsd?

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • L
          Lectrician
          last edited by

          2.0.1-RELEASE (i386)
          built on Mon Dec 12 17:53:52 EST 2011
          FreeBSD 8.1-RELEASE-p6

          If it's file permissions, this must be something that Squid changed when I installed squid3?  And changing back to squid1 has not altered it?

          What file permission would be incorrect?

          Thanks.

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

            I had a strange issue today after installing squid3 and then sarg (on a new pfsense install) and then uninstalling squid3 then installing squid.

            I could not access the reports…complained about missing index.html.

            After putting some debug text into the sarg php, I noticed the /usr/local/sarg-reports/index.html was missing and not being created.

            To force it to be created, I had to manually select (highlight) "Generate the main index.html (yes)" in Sarg Settings: General Tab: Report Settings/Report Options. Even though is should default to be on(yes).

            Then running the schedule (force update) created the main index file and it all worked :)

            Not sure what happened there!

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

              @davros123:

              To force it to be created, I had to manually select (highlight) "Generate the main index.html (yes)" in Sarg Settings: General Tab: Report Settings/Report Options. Even though is should default to be on(yes).

              You must select options to enable, that's what field description says.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • L
                Lectrician
                last edited by

                Hi.  My index is displaying, but just not for dates since I swapped to Squid 3 and back to Squid.

                Where would I find the files to check the permissions on?

                Thanks.

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

                  @marcelloc:

                  @davros123:

                  To force it to be created, I had to manually select (highlight) "Generate the main index.html (yes)" in Sarg Settings: General Tab: Report Settings/Report Options. Even though is should default to be on(yes).

                  You must select options to enable, that's what field description says.

                  Thanks for clarifying that.

                  I think it could be better worded…as it also says default values are in ().  I interpret that as these are the Default values.  ie. if you do not select anything, it will default to these values....as in Option 2 from the Oxford dictionary:

                  noun
                  Pronunciation: /dɪˈfɔːlt, ˈdiːfɔːlt/
                  1 [mass noun] failure to fulfil an obligation, especially to repay a loan or appear in a law court:
                  the company will have to restructure its debts to avoid default
                  [count noun]:
                  the deteriorating economy pushed defaults to almost $20 billion
                  2 [in singular] a preselected option adopted by a computer program or other mechanism when no alternative is specified by the user or programmer:

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

                    The next line explains it.

                    "If you select any option, it will be enabled on conf file."

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

                    Help a community developer! ;D

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

                      I say this with all due respect and appreciation for making this package available….

                      I am simply providing user feedback that the wording is unclear and confusing - and does not align with the common usage of the term default nor common UI design practices.

                      It is your package so feel free to ignore this feedback.

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

                        Thanks for your feedback

                        I'll include a longer description to be more clear.

                        something like

                        If you select a option, it will be enabled on conf file.
                        If you do not select a option, it will be disabled on config file.
                        the () only shows default config values but it does not mean that not selecting it will be enable by default.

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

                        Help a community developer! ;D

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

                          Sounds good.

                          Thanks for doing that…hopefully will make it easier for newbies to pfsense like me.

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

                            Hey, i am a newbie i just installed pfsense 2 days ago… i want to install sarg so that i can log all the sites and downloads that are performed by the users. I was unable to find any guide or anything to proceed. Can someone please help me?  :) :)

                            1 Reply Last reply Reply Quote 0
                            • N
                              Nachtfalke
                              last edited by

                              @Daksh:

                              Hey, i am a newbie i just installed pfsense 2 days ago… i want to install sarg so that i can log all the sites and downloads that are performed by the users. I was unable to find any guide or anything to proceed. Can someone please help me?  :) :)

                              SARG does not log anything. SARG just analyzes and visualizes the logs of programs like squid, squidguard and dansguardian.
                              So before using SARG you should be familar with using a proxy like squid and which sites can be logged and which not or just with some additional configuration.

                              So please first make sure you read the other threads here in the forum about squid, squidguard or dansguardian and if this is working then please explain more in detail what you want to do with sarg and what does not work with your configuration so that we can help.

                              Good luck!

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

                                Hi,

                                I seem to have an issue generating reports from dansguardian using Sarg. I have followed various troubleshooting threads which have not helped fix my problem.

                                Issue:

                                Status>Sarg Reports>View Report

                                Error: Could not find report index file.
                                Check and save sarg settings and try to force sarg schedule.

                                System/package details:

                                PFsense 2.1-RELEASE (amd64) FreeBSD 8.3-RELEASE-p11

                                Dansguardian: 2.12.0.3 pkg v.0.1.8

                                squid3-dev: 3.3.10 pkg 2.2

                                Sarg: 2.3.6_2 pkg v.0.6.3

                                I can see files, including index.html.gz under ']/usr/local/sarg-reports/2013/12/30'

                                Realtime view in Sarg works ok.

                                What can I try to troubleshoot this further?

                                Thanks.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  Nachtfalke
                                  last edited by

                                  Did you enable logging on squid and/or dansguardian?
                                  Did you create a shedule on sarg?
                                  Only enable logrotation on sarg and not on squid.

                                  Depending on what reports sarg should create and how big the log files are it could take some time to generate a report.

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

                                    Seems as if it was a time thing. After making no changes and just checking the reporting now, it is working.

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      Nachtfalke
                                      last edited by

                                      @jpmunroe:

                                      Seems as if it was a time thing. After making no changes and just checking the reporting now, it is working.

                                      I did have this sometimes when creating a shedule for the first time. Doing a force update now does not work or it seems as it does not but later everything is running.

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

                                        I have installed squid(logging enabled) and i have set transparent mode off(if i switch it on i cannot access most of the websites)
                                        after that if i try sarg, in report: it doesnt show anything(it says you have not configured….) and if i go in realtime and check then it shows only 1 entry of txt/...

                                        i have tried to install this soo many times earlier once it showed websites in realtime but only once upon a time that too of only 15 minutes(approx.)

                                        Please help...


                                        I am a newbie

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          ck42
                                          last edited by

                                          Getting the same message:
                                          rror: Could not find report index file.
                                          Check and save sarg settings and try to force sarg schedule.

                                          But I can see the index.html file and other related files in /usr/local/sarg-reports/2014Jun04-2014Jun05

                                          So…I simply copied the index.html up one level and into /usr/local/sarg-reports
                                          the .conf file has the output_dir set to /usr/local/sarg-reports
                                          But...how does this work if files are being placed in these dated sub directories??

                                          This seems to have fixed things.
                                          Bug?  A configuration setting I need to change somewhere?

                                          [EDIT]
                                          Fiddled around with some settings and now it's apparently working?
                                          I'm wondering if disabling the logging function and then re-enabling did something?

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            peruvichito2014
                                            last edited by

                                            Hi Gurus
                                            After following the recommendation that I was learning in this page:
                                            I copy the "index.html" from /usr/local/sarg-reports/2014/06/30/ to /usr/local/sarg-reports/

                                            But I Can not obtain any value:

                                            Review in the log file, I observed
                                            ![](http://Log Sarg.jpg)

                                            Any suggestion why I can not obtain any report:

                                            In the real Time report I can observe the pages that my customer access:

                                            Any suggestion

                                            Proxy-Report.jpg
                                            Proxy-Report.jpg_thumb
                                            ![Log Sarg.jpg](/public/imported_attachments/1/Log Sarg.jpg)
                                            ![Log Sarg.jpg_thumb](/public/imported_attachments/1/Log Sarg.jpg_thumb)
                                            Satus_Sarg_Realtime.jpg
                                            Satus_Sarg_Realtime.jpg_thumb

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