Pfsense – SARG (SQUID REPORTS) – 2012 v2

A few months back I posted how to setup SARG on pfsense router.

Since then there has been a great package created for SARG that works on p. I have uninstalled the components I earlier configured and now use this package.

Here is the config and setup for this on pfsense.
A listing from the Packages area (Admin | System | packages);

You will select the install option :

From there you can now configure SARG
Under Status you will now see SARG Reports

The SARG area has a few tabs.

General

where you set the report options and report types

Users

location to set user info. Since I use SQUID in transparent mode I don’t have specific users but rather ip address. I set alias’s for each IP (computer) on the network. You can do this under the user association. Here is an example of our Kermit server “192.168.2.103 Kermit”

Schedule

Where you set the frequency of the reports: I have mine set to every 4 hours

View Report

is where you will go to see the regenerated reports (see below)

RealTime

this is a great feature. Once you select “show log” you get to see active connections. I love this page.

XMLRPC sync

allows you to share with remote servers

Help

informs you on all the options and settings

If you select the reports tab you can see any generated reports. Since it was just installed depending on your run interval it may not be populated

Overall this package makes using SARG on PFSense a lot easier. Well done to the group who created it.

15 thoughts on “Pfsense – SARG (SQUID REPORTS) – 2012 v2”

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

    facing this error please help me out.

  2. Can you look in that directory to see if there is an file permissions errors?

  3. Ali,

    Diagnostics: Execute command —> sarg —> report index file 😉
    Status: Sarg Schedules —> on 1d on rotate Sarg —> save and force update now
    Status: Sarg Reports —> OK!!

    😉
    PfSense Brasil

  4. Very same problem here. Impossible to execute sarg from Diagnostics/Command Prompt/Execute because sarg can’t set LC_ALL. When launched from the command line I’ve got :

    SARG: Records in file: 2589, reading: 100.00%
    SARG: Successful report generated on /usr/local/sarg-reports/2013/03/13

    Then I clicked on force update, but still no report available.

    Any idea ?

    Thanks in advance

  5. I have the same problem as Jerome Alet
    i have checked the reports are created in /usr/local/sarg-reports/23Mar2013-23Mar2013/ The folder also contains the following
    index.html
    sarg-date
    sarg-general
    top
    I still dont get to see the rports
    Thanks in advance

  6. I’ve checked and ensured that all reports are correctly generated (once per day, per my choice), but the problem is the very first page (index ?) that doesn’t get generated.

  7. just installed pfsense 2.0.3 with squid3 and sarg. But same problem as above.
    No report for sarg.

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

  8. It looks like the SARG install for 2.0.3 has an issue with not able to generate reports.

    I would recommend using the SARG Package vs the Manual Install. I just upgraded to 2.0.3 to see about the no generation error.

  9. Hello there.
    I used to have this problem and it is fixed only by selecting the desired option in sarg general configuration screen. the problem seems coming from the fact that default values seem to have been taken into account.
    Try to use CTRL + click to select values and try to view reports.
    For my case i selected lines number 1, 6 to 10 and 15.
    Good luck.

  10. Make sure you have the correct proxy selected from the drop down on the general tap. Default was Dansguardian but in my case that’s my content filter, I had to change it to Squid (which is my proxy package).

Leave a Comment