LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-06-2010, 01:27 AM   #1
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Rep: Reputation: 15
Squid proxy not generating reports for all dates :(


Hello,

I am having squid proxy server running on OpenSuSe 10.2
I noticed when I generate report it just shows me last date log file.
Although /var/log/squid contains logs of all previous dates.

I really cant remember which file to modify so that I can see all dates reports in html when I use following command
Quote:
cat access.log | /home/user/squint-0.3.10/squint.pl /home/user/report<date>
Any help?

Regards,
Amey.
 
Old 02-06-2010, 11:27 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sco1984 View Post
Hello,

I am having squid proxy server running on OpenSuSe 10.2
I noticed when I generate report it just shows me last date log file.
Although /var/log/squid contains logs of all previous dates.

I really cant remember which file to modify so that I can see all dates reports in html when I use following command

Any help?
So instead of looking up the answer in the Squint documentation (and on their website, in the FAQ), we should look it up for you??

http://www.ledge.co.za/software/squint/
 
Old 02-06-2010, 11:53 AM   #3
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
So instead of looking up the answer in the Squint documentation (and on their website, in the FAQ), we should look it up for you??

http://www.ledge.co.za/software/squint/
@ TBone > I also did google and found above web-page. But the out put = zero.

Those typical documented solutions doesnt work most of the time to be frank. Have you ever did set up of squid BTW? If yes can give any hint what could be the problem? You seems to be well versed with above web-site

Last edited by sco1984; 02-06-2010 at 11:55 AM.
 
Old 02-06-2010, 07:36 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sco1984 View Post
@ TBone > I also did google and found above web-page. But the out put = zero.

Those typical documented solutions doesnt work most of the time to be frank. Have you ever did set up of squid BTW? If yes can give any hint what could be the problem? You seems to be well versed with above web-site
Yes, I have seven in a HA cluster, and the "typical documented solutions" have always worked. And the reason I'm "well versed with web site", is that I read the instructions. But you're not talking about Squid...you're talking about Squint.

And did you read the README file that comes with Squint?? About how running the command you stated generates a one off report?? About how if you want to CRON it to keep up with what's going on, you've got to do something different???
 
Old 02-06-2010, 08:57 PM   #5
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Yes, I have seven in a HA cluster, and the "typical documented solutions" have always worked. And the reason I'm "well versed with web site", is that I read the instructions. But you're not talking about Squid...you're talking about Squint.

And did you read the README file that comes with Squint?? About how running the command you stated generates a one off report?? About how if you want to CRON it to keep up with what's going on, you've got to do something different???
-I dont want to set up cron job due to some limitations.
-2ndly I mentioned squid because I am using squint for squid proxy application.
-And lastly I can say yes in your case those documented solutions would work because you are on hi fi HA mode probabbly in standard comptible hardware + software module with US certified stuff. [ I noted that as you are from *US* / Althought south US but I guess same standardization as in north US ]
-In Asia things differs.

& last but not least I strongly beleive LQ has many genius who can give hint in a single line rather than writting about * heaps of documented stuff * . I hope you got my point. Everything you say is right but you see what I was trying to know?
 
Old 02-06-2010, 10:52 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sco1984 View Post
-I dont want to set up cron job due to some limitations.
Probably should have said that to begin with. In that case, AGAIN, read the documentation. Blow away the one-time report directory, and re-run it.
Quote:
-2ndly I mentioned squid because I am using squint for squid proxy application.
Your problem was with Squint, NOT Squid
Quote:
-And lastly I can say yes in your case those documented solutions would work because you are on hi fi HA mode probabbly in standard comptible hardware + software module with US certified stuff. [ I noted that as you are from *US* / Althought south US but I guess same standardization as in north US ]
-In Asia things differs.
Squid is the same, no matter the language, as is Squint.
Quote:
& last but not least I strongly beleive LQ has many genius who can give hint in a single line rather than writting about * heaps of documented stuff * . I hope you got my point. Everything you say is right but you see what I was trying to know?
Nope...you didn't want to look up the answer, but wanted it to be handed to you. I gave you the 'hint' in the single line, but you didn't read the FAQ, READMES, or anything else.

Last edited by TB0ne; 02-08-2010 at 12:55 PM.
 
Old 02-08-2010, 02:34 AM   #7
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Original Poster
Rep: Reputation: 15
I figured out I neeed a small code to add in squint.pl which will instruct actual order to search for all dates logs and generate report.

But exisitng squint.pl is enough confusing. Not being a hard core developer dont no where to add code.
 
Old 02-08-2010, 12:58 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sco1984 View Post
I figured out I neeed a small code to add in squint.pl which will instruct actual order to search for all dates logs and generate report.

But exisitng squint.pl is enough confusing. Not being a hard core developer dont no where to add code.
If you want to generate one-off reports, by the method you're using, you just have to remove the OLD report, move it somewhere else, rename it, whatever. Then re-reun the command.

If you want to run reports regularly, that's what cron is for. If you want to modify the source code, then you'll either have to do it yourself, or hire someone.
 
Old 02-08-2010, 06:01 PM   #9
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
If you want to generate one-off reports, by the method you're using, you just have to remove the OLD report, move it somewhere else, rename it, whatever. Then re-reun the command.

If you want to run reports regularly, that's what cron is for. If you want to modify the source code, then you'll either have to do it yourself, or hire someone.
We have many developers in our office. I have assigned this task to 1 of them.
 
Old 06-03-2010, 11:46 AM   #10
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Original Poster
Rep: Reputation: 15
Any1 can give hint as this problem is still pending for me?
 
  


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
SARG is not generating reports. Phiggy Linux - Server 1 08-17-2009 08:45 AM
SARG not generating scheduled reports from Squid symesd Linux - Software 0 11-01-2007 04:52 PM
Any reliable report generating tool for squid proxy? Niceman2005 Linux - Software 2 03-08-2006 02:20 AM

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

All times are GMT -5. The time now is 10:22 AM.

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