No output from Calamaris
I am running Calamaris (with Webmin) to look at the Squid stats. Squid is working and apparently so is Calamaris.
However... when I run Calamaris I can see that a report is generated, there is a message to say so but there is no report / content. Any idea why that would be? Is this another one of the permission problems in that all is working but Calamaris does not have the permission to access the logs? |
I far as I can remember Calamaris does not write to a log file, unless you redirect the output. Could you post you command line for running Calamaris?
|
The way it works with Webmin is that you have a gui and simply click an icon. This should access some log file and then show the output formatted on screen.
I guess that Calamaris is working since I am not seeing any errors and I do see a confirmation that the report is generated. But I do not know how to work back .... for example, if Calamaris is accessing log files but those files have not been generated by say Squid then that would explain it but I do not know how to work that ..... |
I have just had a look at /var/log/squid/access.log and the log file is there, 2MB, and if I look I can see the sites accessed and the IP of the users.
|
Just checking you've got the right log. The calamaris log should show:
Top 10 accessed sites Top 10 accessed by domain suffix Top 10 surfer i.e. which clients are accessing what and who's doing it the most Accumulated stats for type of downloaded i.e. images/video Cache hits and a few more I cannot remember........ Is that what you see in your log? |
yes that is what I read in the log.
I have also now solved the problem. I was looking round trying to make things simple on the grounds that the more simple it is the less there is to go wrong. As part of this I changed the text output from html to txt. I find that the log file is then displayed by Calamaris. Since the log is viewed through a browser on a client machine I do not understand why html should not be displayed but ... it is not. But since I can now read the log in a nice easy way then .... problem solved :) |
oh ... and thanks for your comments Harry.
|
Could you please tell me how u are you calamaris with webmin
Thanks & Regards Sanket Sharma |
All times are GMT -5. The time now is 07:17 AM. |