Sarg package for pfsense
-
@KOM:
Try this from the shell:
rm -r /usr/local/sarg-reports
ln -s /usr/pbi/sarg-i386/local/sarg-reports /usr/local/sarg-reportsUse ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports if you have 64-bit build.
This fix the problem… try it
thank's its work on my pfsense…. ;) ;) ;)
-
Hello all,
My sarg installation is in a bit of a mess. Rather than trying to fix what I think are multiple issues, I want to completely remove sarg including any logs and settings, and install it again from scratch. I have tried an uninstall but this doesn't get rid of everything. Any simple pointers on how to nuke sarg totally?
thanks! -
I get the same sarg error
Error: Could not find report index file. Check and save sarg settings and try to force sarg schedule.
Has a fix been found yet?
-
did try all but same here…
Jun 10 02:00:00 php: sarg.php: Sarg: force refresh now with -d
date +%d/%m/%Y
-date +%d/%m/%Y
args, compress(on) and none action after sarg finish.Error: Could not find report index file.
Check and save sarg settings and try to force sarg schedule. -
@KOM:
Try this from the shell:
rm -r /usr/local/sarg-reports
ln -s /usr/pbi/sarg-i386/local/sarg-reports /usr/local/sarg-reportsUse ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports if you have 64-bit build.
Fixed for me as well, had to perform on a brand new install.
-
Hi,
My SARG schedule work half time:
First schedule is ok
Second run i have this error:SARG: Period: 24 Dec 2015
SARG: File /usr/local/sarg-reports/2015/12/24 already exists, moved to /usr/local/sarg-reports/2015/12/24.2
SARG: cannot open /usr/local/sarg-reports/2015/12/24/sarg-date for writing
SARG:: No such file or directorythird run is OK
Have you an idea ??
Thanks
-
Select overwrite reports on settings tab.
-
Can anybody tell me if it would be possible to setup Sarg to email the the reports in a viewable format? Maybe some sort of a cron job could do this?
-
Hi
pfSense 2.2.6
I received the following error message:php: sarg.php: The command 'export LC_ALL=C && /usr/pbi/sarg-i386/bin/sarg ' returned exit code '1', the output was 'SARG: Records in file: 1732, reading: 0.00%^MSARG: cannot open /usr/local/sarg-reports/2016/03/21/sarg-date for writing SARG:: No such file or directory SARG: Records in file: 1732, reading: 100.00%'
What could be the problem?
-
Its been discontinued.
https://forum.pfsense.org/index.php?topic=110405.msg614621#msg614621
-
How do i remove Sarg on pfsense 2.3
Any command that i can type to remove it. I can see the menu link and keep on having crash report on the package. Please look at the attached screenshot.
-
How do i remove Sarg on pfsense 2.3
Any command that i can type to remove it. I can see the menu link and keep on having crash report on the package. Please look at the attached screenshot.I have some problem too. anybody help?
un 24 12:00:00 php /usr/local/www/sarg.php: The command 'export LC_ALL=C && /usr/local/bin/sarg -d `date +%d/%m/%Y`' returned exit code '127', the output was '/usr/local/bin/sarg: not found'
-
no one help?
-
Don't know what the correct way ist, but you should:
rm -rf /usr/local/pkg/sarg* rm -rf /usr/local/www/sarg*
Don't know exactly where the reports are stored so probably first search for them and then delete these folders.
search:
find / -iname "*sarg*"
Then remove it with "rm -rf"
Further install "cron" package and then delete all existing cronjobs which contain something with "sarg" in it.
Delete the remaining "sarg" entries from your config. In my environment this is:
vi /cf/conf/config.xml
There I deleted the pars beginning/ending with:
<sarg></sarg> <sarguser></sarguser> <sargschedule></sargschedule> <sargrealtime></sargrealtime>
So after rebooting everything should be ok. Of courxe, please crwate a backup of the configu before you start deleting something.
Regards.
-
It is an awesome tool, sad it is not available now.
-
Hello, Marcelo:
Do you know how to install SARG in
Hello, Marcelo:Do you know how to install SARG in pfsense 2.4.4, FreeBSD 11.2-RELEASE-p3 ?
Thanks,
Yosvany