Author Topic: [Solved] Zentyal record  (Read 2068 times)

LeonF

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
[Solved] Zentyal record
« on: February 26, 2013, 03:12:19 pm »
Good day all,

Was wondering if Zentyal 3.0 has the ability to record all users using the internet and give a report on usage and sites visited?
If so, does anyone know how to set it up?
Sorry but very new with Zentyal
« Last Edit: March 04, 2013, 03:47:14 pm by LeonF »

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal record
« Reply #1 on: March 02, 2013, 01:58:29 pm »
If you use HTTP proxy with an group policy, you could search the logs for this information.

christian

  • Guest
Re: Zentyal record
« Reply #2 on: March 03, 2013, 08:38:05 am »
Frankly, Zentyal won't provide "out of the box" such information without any additional piece of software aiming to build report (as I understand this is what this request targets)
Furthermore, I don't understand what group policy brings here. Could you please elaborate as I may have missed something in term of understanding.

To me, question is not related to Zentyal (once you understand there is no such "reporting tool" embedded in Zentyal) but to Squid.
Search and install your preferred Squid reporting tool (Calamaris, Sarge, whatever) and install it on top of Zentyal. That's it  ;)

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Zentyal record
« Reply #3 on: March 04, 2013, 06:51:58 am »
Sorry, I misread the 'report' portion. What I was saying is to get a searcheable log of pages requests.

Group policy is needed for this because it logs the user which does the request, otherwise user authorization is not required.

LeonF

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Zentyal record
« Reply #4 on: March 04, 2013, 12:41:51 pm »
awesome, thx guys, will try today

LeonF

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Zentyal record
« Reply #5 on: March 04, 2013, 01:38:18 pm »
has anybody had a successfull configuration of sarg maybe, I only find old documentation regarding the setup, and it is not working

LeonF

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: [Solved] Zentyal record
« Reply #6 on: March 04, 2013, 03:48:10 pm »
I found the solutions, thank you to all, will post how I did it as soon as I can figure out what I did, hehe

LeonF

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: [Solved] Zentyal record
« Reply #7 on: March 07, 2013, 05:01:54 am »
As Promised, to get sarg working with zentyal core version 3.0.14

All was done with root user

Download latest sarg at http://sarg.sourceforge.net/sarg.php
go to download folder
tar -xzvf "sargdownloadfilename".tar.gz
cd "sargdownloadfilename"
apt-get install build-essential
./configure
make
make install

after install

nano /usr/local/etc/sarg.conf
*add*
         access_log /var/log/squid3/access.log

*done

I then run sarg by typing just "sarg"
then go to firefox to
http://localhost/html/squid-reports