No puedo configurar SARG
-
Que tal a todos en el foro, un saludo
Tengo el problema que no puedo configurar sarg.
Segui el tutorial de periko y el post http://forum.pfsense.org/index.php/topic,39568.0.html
Pero no logro hacer que jale, no se que estoy haciendo mal.
Anexo imagenes para ilustrar lo que me pone el sistema
El script esta en la direccion que viene en el tutorial
Al correrlo me sale este error:
Si me genera la pagina web:
Pero al darle click donde dice diario me sale:
Que estoy haciendo mal o que esta mal?
Saludos
-
Why dont' you try sarg package for pfsense?
-
Thanks for the answer.
I did, but the package can not be configured properly… I think I need to get hands on the configuration in package sarg for pfsense.
Thanks again. :D
-
I'ts working for me. what errors are you getting on sarg package?
-
I'ts working for me. what errors are you getting on sarg package?
Let me post for you few images… i'll be back in 20 minutes ;D
-
-
I'ts working for me. what errors are you getting on sarg package?
This is my sarg configuration
I need to say that i already try to make different configurations and none worked, it keeps telling that there's an error…
Best regards ;D
-
I can't read your sarg options,
update package to the latest version and check my setup with yours
General tab
Proxy server:
squidreport options:
use graphics where possible
remove temporary files
generate the main index.html
generate the index tree
overwrite report
use comma instead poingreports to generate:
all selecteduser tab
User Sort Field: bytesschedule
on 1h none Hora em Hora
on 1d rotate A cada dia -
Yo no he usado aun el paquete que ya hizo marcelloc.
Hola pozolero.
jajajaja es post es viejo ya ni me acordaba de el, bien mira el mi blog viene el proceso, quiero pensar que te falto darle el bit de ejecucion a el script, puedes revisar mi blog y me dices si con ese resolvistes el problema o no, este es:
http://pheriko.blogspot.com/2012/03/pfsense-2x-reporte-sarg-para-squid.html
Este lo hice antes de que marcelloc sacara el paquete para pfsense.
Saludos ;D
-
I can't read your sarg options,
update package to the latest version and check my setup with yours
General tab
Proxy server:
squidreport options:
use graphics where possible
remove temporary files
generate the main index.html
generate the index tree
overwrite report
use comma instead poingreports to generate:
all selecteduser tab
User Sort Field: bytesschedule
on 1h none Hora em Hora
on 1d rotate A cada diaSorry for any issues…
I'll try this options at work, sadly i'm at home now...
I'll keep in touch.
Best regards
-
He configurado sarg en varias ocaciones.
A veces he tenido que reinstalar pfsense que no es nada dificil ni tardado ya que veces algo se queda por ahi que no me deja continuar.
Parece que ya tenemos una sopa aqui, instalastes el sarg de los paquetes de pfsense e intentastes seguir mi procedimiento en la misma maquina(reinstalastes)?
Este error es :
I can't read your sarg options,
Me suena que en tu script algo no le concuerda y como que no esta dando con el archivo de config de sarg o algun parametro, basado en mi blog:
/root/scripts/sarg-reports.sh
Tenemos una seccion como esta
SARG=/usr/local/bin/sarg
CONFIG=/usr/local/etc/sarg/sarg.conf
HTMLOUT=/usr/local/www/squid-reportsSarg se instala en esa ruta, y ese achivo debe estar configurado con nuestras opciones, ahora si estas basandote en el paque de marcelloc desconozco donde pone sus archivos, pero es cuestion de buscarlos y leer
la configuracion de sarg a lo mejor algo quedo por ahi mal hubicado.Quedamos a el pendiente…!!!
Si sabes ejecutar scripts en freebsd/pfsense, no hay problema en esta parte?
-
I can't read your sarg options,
update package to the latest version and check my setup with yours
General tab
Proxy server:
squidreport options:
use graphics where possible
remove temporary files
generate the main index.html
generate the index tree
overwrite report
use comma instead poingreports to generate:
all selecteduser tab
User Sort Field: bytesschedule
on 1h none Hora em Hora
on 1d rotate A cada diaDidn't work :(
-
take a look on this topico.
http://forum.pfsense.org/index.php/topic,49135.0.html
-
take a look on this topico.
http://forum.pfsense.org/index.php/topic,49135.0.html
Obrigado Marcelloc
Thanks Marcelloc
-
No se que hice, pero marcelloc me paso un link y de ese link solo volvi a copiar la ruta de donde guarda squid sus logs…y le di salvar al archivo de configuracion de sarg y ya me deja ver los reportes...
Quiero mencionar que sarg si me dejaba ver los reportes en vivo, pero no los guardados, el que viene en la pestaña "View report"
Muchas gracias estamos pendientes...
I don't know what i've done, but marcelloc gave me a link, just copied the path where squid saves logs...saved sarg.config file and i can now see reports.
I need to say that sarg allowed me to see the realtime reports, but not the saved ones, those who come in "View report" tab.
Thanks a lot.
-
Did you created a schedule and forced sarg to run?
-
Did you created a schedule and forced sarg to run?
I did create a schedule, 1 rule for each hour doing nothing, and another for 1 day rotating logs… I don't know if i forced sarg to run... It just started to function properly... ???