LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 10: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, 10:03 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,252

Rep: Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079Reputation: 8079
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, 02: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, 02:26 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,405

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
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, 03:05 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638

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, 08: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 07:09 AM
gambas as database application + web base reporting tool kstan Programming 0 10-09-2006 12:28 AM
Web-based reporting tool for MS SQL Server nkendrick Linux - Software 0 06-27-2004 01:02 PM
reporting tool ~= crystal reports chapzilla Linux - Newbie 1 08-12-2003 12:38 AM
Reporting Tool Bheki Linux - Newbie 0 05-21-2002 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration