|
dvserg
|
 |
« on: June 04, 2007, 12:36:04 pm » |
|
Lightsquid (squid report generator and analyser) - already in package list Please test him work: - install/deinstall - auto-update shedule - squid log rotate shedile ps: Now avialable only base and text cheme report. If test process success, i will add 2 new themes 
|
|
|
|
|
Logged
|
|
|
|
|
|
hadi57
|
 |
« Reply #1 on: June 04, 2007, 01:02:40 pm » |
|
hi
installed it last night, and a little confused how to use it, i keep getting this:
LigthSquid diagnostic. Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content) Please check config file !
hadi57
|
|
|
|
|
Logged
|
|
|
|
|
|
dvserg
|
 |
« Reply #2 on: June 04, 2007, 01:37:20 pm » |
|
hi
installed it last night, and a little confused how to use it, i keep getting this:
LigthSquid diagnostic. Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content) Please check config file !
hadi57
This normal situation for firts installation. Click Refresh Key(full or now) on webGUI Package form ps i will add this notification
|
|
|
|
|
Logged
|
|
|
|
|
|
hadi57
|
 |
« Reply #3 on: June 04, 2007, 02:19:27 pm » |
|
hi
i did refresh still nothing there, i am still not sure what is package about, but i think it should give squid access report, any ways this is what i am still getting.
LigthSquid diagnostic. Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content) Please check config file ! Variable value $tplpatph /usr/local/www/lightsquid/tpl $templatename base $langpatph /usr/local/share/lightsquid/lang $langname eng $reportpath /var/lightsquid/report Access to '/var/lightsquid/report' folder yes folder content:
and following is my configuration:
language: english bar color: orange report scheme: base ip resolve method (future): dns refresh scheduler: 10min squid rotate: every 1 day skip url: nothing is there
i am using 1.2 beta-1 built on mon apr 30
thanks
hadi57
|
|
|
|
« Last Edit: June 04, 2007, 02:37:01 pm by hadi57 »
|
Logged
|
|
|
|
|
|
Cry Havok
|
 |
« Reply #4 on: June 04, 2007, 03:38:21 pm » |
|
Have you ticked the "Enabled logging" option in the squid config page?
On a side note, it would be nice to see the LightSquid page titled something different from the squid pages to make it easier to work out which is which (actually, I'd like to see it under "Status"->"Proxy Logs" or similar).
Finally, one bug - with the "IP Resolve Method" at DNS the domain name gets appended to the resolved name, resulting in "hostname.local.local".
|
|
|
|
|
Logged
|
If you're planning on PMing me to ask me to look at a thread, or for individual support, don't.
|
|
|
|
|
hadi57
|
 |
« Reply #5 on: June 05, 2007, 09:08:31 am » |
|
hi no i didn't, didnt know  ill do it now hadi57
|
|
|
|
|
Logged
|
|
|
|
|
|
Shackattack
|
 |
« Reply #6 on: June 05, 2007, 09:17:28 am » |
|
There is a bug in Webinterface integration.
The menu Point has the same name as the proxy server.
This is my machine:
|
|
|
|
|
Logged
|
|
|
|
|
|
dvserg
|
 |
« Reply #7 on: June 05, 2007, 09:22:17 am » |
|
Log store directory field must be /var/squid/log After - need begining work with squid (for create log) After - press Refresh button on lightsquid gui form - all problems must be solved All issues will analysed and corrected Also added new IP2Name variant's and change 1-2 settings for more quickly parser job in crontab and 'Refresh Now' button. After self-testing will sent to coreTeam  -------------- must be name 'Proxy server report' - last word lost in this mode GIU Thanks - i'll change to short name
|
|
|
|
|
Logged
|
|
|
|
|
|
ben.suffolk
|
 |
« Reply #8 on: June 05, 2007, 04:24:04 pm » |
|
Its working well for me,
Good job, well Done!
Ben
|
|
|
|
|
Logged
|
|
|
|
|
|
mbedyn
|
 |
« Reply #9 on: June 06, 2007, 03:36:05 am » |
|
hello.. it is really good job... It works fine for me... instalation without any problems...  I have one question about squid log rotate scheduler. How it work? If I check rotate logs every 30 days that means the older logs will be overwritten? or archiving? I would like to keep my squid logs as long as it possible. I know there is the option to disable log rotate, but if I understand well, lightsquid will be parsing all long log file. 
|
|
|
|
|
Logged
|
|
|
|
|
|
dvserg
|
 |
« Reply #10 on: June 06, 2007, 04:05:41 am » |
|
squid contains access.log file if rotate executed - squid create new access.log and old rename to access.log.0 access.log->access.log0->access.log1 ... ->access.log.9
if you rotate monthly - you may have 10 mont's archive LightSquid parse by crontab task only access.log - it's NOW next step - i set parsing only today date for more speed
By Refresh FULL - parsing ALL access.log.xx files
|
|
|
|
|
Logged
|
|
|
|
|
|
mbedyn
|
 |
« Reply #11 on: June 06, 2007, 04:49:03 am » |
|
Ok.. That's I expected....  many thanks
|
|
|
|
|
Logged
|
|
|
|
|
|
sullrich
|
 |
« Reply #12 on: June 09, 2007, 04:27:40 pm » |
|
Great work. I am ready to offer a commit to dvserg so that he can start taking care of these packages and get them added.
|
|
|
|
|
Logged
|
|
|
|
|
|
Shackattack
|
 |
« Reply #13 on: June 17, 2007, 04:27:51 pm » |
|
It would be interesting to see the Oversize Config flag at the Webinterface on Configuration Page.
Curently ist just reporting all Users with mor than 10MB as Oversized:
"Users who exceed 10.0 M bytes, per user quota"
Can you tell us in which config file I can change this?
|
|
|
|
|
Logged
|
|
|
|
|
|
dvserg
|
 |
« Reply #14 on: June 18, 2007, 01:03:15 am » |
|
inconfig '/usr/local/etc/lightsquid/lightsquid.cfg' see variable
#user maximum size per day limit (oversize) $perusertrafficlimit = 10*1024*1024;
but this change to firts webgui change. For forever change see and modify '/usr/local/etc/lightsquid/lightsquid.cfg.dist' (webgui take this as source)
This option used only for reporting, but nothing to limit user quota Do you suggest include this option to the gui?
|
|
|
|
|
Logged
|
|
|
|
|
|