The pfSense Store

Author Topic: Sarg package for pfsense  (Read 82557 times)

0 Members and 1 Guest are viewing this topic.

Offline Exolon

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #60 on: April 04, 2012, 10:26:13 am »
I've managed to get Sarg Realtime working but when I try and "View Reports", I get a blank page:

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #61 on: April 04, 2012, 10:51:20 am »
Try to generate another report after selecting indextree on sarg settings.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #62 on: April 04, 2012, 01:20:23 pm »
sarg 0.3 is out with date report format ,sortable reports and squidguard.  :)

Thanks to cino and ccesario.


Offline bitskiller

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #63 on: April 04, 2012, 02:11:06 pm »
report on firefox no work!!!  ??? fine on google chrome  ;D

What version of firefox? I'm using it on firefox11 and chrome without issues.

I'm using firefox 11 and does not display my report, if it works well with chrome

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #64 on: April 04, 2012, 05:23:24 pm »
bitskiller,

did you tried to refresh the report frame using right-click -> this frame -> reload?

Offline Exolon

  • Jr. Member
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #65 on: April 05, 2012, 06:25:46 am »
Try to generate another report after selecting indextree on sarg settings.

Thanks, that did it, I now have reports showing.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #66 on: April 08, 2012, 12:48:28 pm »
I really interesting SARG but until now I could not find any e-mail option to use it for system log report.

Thank u

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #67 on: April 08, 2012, 02:12:47 pm »
It's not implemented yet.

Mail option will need a mailer daemon running on pfsense like postfix forwarder.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #68 on: April 08, 2012, 03:03:49 pm »
It's not implemented yet.

Mail option will need a mailer daemon running on pfsense like postfix forwarder.

I have tested SARG many time with Squid-reverse. This is my step
1. I have installed Squid-reverse.
2. I have installed SARG and after that I got some error: Sarg config error:log file () does not exits. I want to know what is wrong?.
3. I tried to change the "userid" or the "ip address" to be a real user name on the reports like this: "172.31.21.22 Donny Van Cooper" but in the "View report and realtime"tab it does not show a real user name. Where can I resolve any ip address on pfSense or I have to resolve any ip address on Domain Controller (Windows Server 2008)
4. I use Firefox web browser also Google Chrome for config SARG and at the "view report" tab dat you said to do is "This frame > reload frame" but some time it does not work I have to do again and again or I have to wait a few second and then report appear.
5. Do I have only to select interface "LAN" or I have to select both "LAN and loopback on Squid-reverse.

Thank u very much
« Last Edit: April 09, 2012, 01:42:51 pm by Donny »

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #69 on: April 09, 2012, 09:43:44 am »
2. I have installed SARG and after that I got some error: Sarg config error:log file () does not exits. I want to know what is wrong?.
This maybe a first install bug, I'll check it.

3. I tries to change the "userid" or the "ip address" to be a real user name on the reports like this: "172.31.21.22 Donny Van Cooper" but in the "View report and realtime"tab it does not show a real user name. Where can I resolve any ip address on pfSense or I have to resolve any ip address on Domain Controller (Windows Server 2008)
4. I use Firefox web browser also Google Chrome for config SARG and at the "view report" tab dat you said to do is "This frame > reload frame" but some time it does not work I have to do again and again or I have to wait a few second and then report appear.
did you created any schedule on sarg to create reports?

5. Do I have only to select interface "LAN" or I have to select both "LAN and loopback on Squid-reverse.
Just lan for normal use.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #70 on: April 09, 2012, 01:07:12 pm »
2. I have installed SARG and after that I got some error: Sarg config error:log file () does not exits. I want to know what is wrong?.
This maybe a first install bug, I'll check it.

3. I tries to change the "userid" or the "ip address" to be a real user name on the reports like this: "172.31.21.22 Donny Van Cooper" but in the "View report and realtime"tab it does not show a real user name. Where can I resolve any ip address on pfSense or I have to resolve any ip address on Domain Controller (Windows Server 2008)
4. I use Firefox web browser also Google Chrome for config SARG and at the "view report" tab dat you said to do is "This frame > reload frame" but some time it does not work I have to do again and again or I have to wait a few second and then report appear.

did you created any schedule on sarg to create reports?

5. Do I have only to select interface "LAN" or I have to select both "LAN and loopback on Squid-reverse.
Just lan for normal use.

Yes, Marcelloc. I have created schedule on sarg to create reports. you can see my screenshot pictures that I post its here but a real user name is still not work.
Thank a lot for your help

« Last Edit: April 09, 2012, 01:11:07 pm by Donny »

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #71 on: April 09, 2012, 02:04:44 pm »
check create index tree by file too onsarg config and force a report update.

Offline Donny

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +0/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #72 on: April 09, 2012, 03:48:35 pm »
check create index tree by file too on sarg config and force a report update.

Hello Marcelloc, I have done what you say but a real user name still not work. as the screenshot below.

Thank u very much. I am tired, I go to bed now.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #73 on: April 09, 2012, 05:41:35 pm »
Donny,

Thanks for your feedback.

I found an error on field check that was preventing user file to be created.

I'm fixing it and including some other options before publishing.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 9983
  • Karma: +1/-0
    • View Profile
Re: Sarg package for pfsense
« Reply #74 on: April 09, 2012, 06:41:24 pm »
Version 0.4 is out with

  • usertab fix
  • charset option field
  • few more report config options

As users has its own tab, you may need to backup your sarg user configuration before update(just in case  ;))
« Last Edit: April 10, 2012, 12:56:56 am by marcelloc »