LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-20-2009, 09:00 AM   #1
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
squid reporting tool


Dear all,

I am running squid proxy in my office for more than 3000 clients. i need to take report of access log file on daily basics. my access log file growing more than 4,00,000 lines daily. can some one suggest a good tool for this. i tried sarg but could not succeeded....

Thanks in advance...
 
Old 10-20-2009, 09:03 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,823

Rep: Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636
Quote:
Originally Posted by shan_nathan View Post
Dear all,

I am running squid proxy in my office for more than 3000 clients. i need to take report of access log file on daily basics. my access log file growing more than 4,00,000 lines daily. can some one suggest a good tool for this. i tried sarg but could not succeeded....

Thanks in advance...
Sarg is pretty much the 'standard' squid reporting tool. It might help if you told us how you "could not succeeded" with it, maybe we can help.
 
Old 10-21-2009, 01:08 AM   #3
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Sarg is pretty much the 'standard' squid reporting tool. It might help if you told us how you "could not succeeded" with it, maybe we can help.
When i am running the sarg report tool i am getting the following error..

#YESTERDAY=$(date --date "1 day ago" +%d/%m/%Y)
#sarg -o /srv/www/htdocs/squidreport -d $YESTERDAY

SARG: (report) Cannot open file: /tmp/sarg

When i check the /tmp/sarg directory it's exists. i am running the script as root user only...
Can u suggest how to solve this....

Thanks...
 
Old 10-21-2009, 01:26 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,301

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
1. Check whether /tmp/sarg is a file or a dir
2, check permissions and ownership
3. check diskspace
4. Have you set up logrotate to handle the logfiles
 
Old 10-21-2009, 02:05 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Agreed with TBOne, sarg is standard. But there are other tools as well and calamaris is one of those. You can find the list of tools for log file monitoring at the homepage.
 
Old 11-26-2009, 07:16 AM   #6
anima.palshikar
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
Why don't you give a try to Cyberoam iView?

Its an open source solution to provide centralized logging and reporting for multiple devices and solutions, ranging from proxies to pure UTMs.

I bet it would be the best answer to your requirements.
Download it from http://sourceforge.net/projects/cyberoam-iview/

Regards
Anima
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
free reporting tool for squid jomy Linux - Networking 4 11-26-2009 06:09 AM
gambas as database application + web base reporting tool kstan Programming 0 10-08-2006 11:28 PM
Web-based reporting tool for MS SQL Server nkendrick Linux - Software 0 06-27-2004 12:02 PM
reporting tool ~= crystal reports chapzilla Linux - Newbie 1 08-11-2003 11:38 PM
Reporting Tool Bheki Linux - Newbie 0 05-21-2002 01:48 AM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration