#1  
Old 20th February 2011, 14:13
Undo Undo is offline
Junior Member
 
Join Date: Nov 2010
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Thumbs down Use of Webalizer AND AWStats ?

Hello everyone,

I was so glad to know that in the last releases of ISPConfig 3, AWStats was implemented.

I was confident with ISPConfig for generating now stats for Webalizer and AWStats... Well, until I saw in the administation panel that we had to make a choice between "Webalizer" and "AWstats" when configuring a website.... What for ?
Why can't we just use both ?

AWStats and Webalizer have some different waves to count and some features that are complementary. And moreover, in order to validate figures, it is always more consistent to use several different systems. So my point is : I just don't see the interest of limiting how choice to only one stats script ?




Thanks in advance for your answer

Undo
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2011, 12:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

ISPConfig allows only to use webalizer or awstats as there is only one stats folder. Statistics processing uses a lot of re4sources on a busy server, so there is only one stats package enables per site. If you want to use both statistics packages at the same time, you might have to edit the cron_daily.php script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd February 2011, 22:03
Undo Undo is offline
Junior Member
 
Join Date: Nov 2010
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
ISPConfig allows only to use webalizer or awstats as there is only one stats folder.
This does not mean you can't use the two... o_O

I was previously using DTC Panel and we had the two scripts generating statistics everyday (on a busy server) and in the same stats folder ...

Quote:
Statistics processing uses a lot of re4sources on a busy server, so there is only one stats package enables per site. If you want to use both statistics packages at the same time, you might have to edit the cron_daily.php script.
First, not everyone has a busy server so, why reduce the public of ISPConfig ?

Then, I think resources management is a choice of the administrator and should not be decided by the panel. Resources optimizing, ok, not resources management. If ones thinks it's ok to have both, let's allow him to have both, he is administrator, he's supposed to know what he is doing... And, moreover, he's supposed to assume what he's doing.

Modifying the cron_daily.php script won't solve the issue because it will force every websites to use both and we won't have the choice to use either only one or the both. What would be, in my opinion, just logical, would to have a multiple-select instead of a simple select, in ISPC : Choose one, choose the other, choose both ...
Reply With Quote
  #4  
Old 28th February 2011, 10:50
Undo Undo is offline
Junior Member
 
Join Date: Nov 2010
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Up ?
*
Reply With Quote
  #5  
Old 28th February 2011, 11:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

Why do you up the thread? I explained how ispconfig works and you expressed another opinion about that. iF you want to make a feature request, please post it to the bugtracker:

http://bugtracker.ispconfig.org

If the request gets enogh votes, then it will get included into the roadmap.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 28th February 2011, 21:30
Undo Undo is offline
Junior Member
 
Join Date: Nov 2010
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hello,

Yes I've expressed another opinion, but I also spotted that the solution you proposed won't work, imho :

Quote:
Modifying the cron_daily.php script won't solve the issue because it will force every websites to use both and we won't have the choice to use either only one or the both
Isn't there any other way to get this feature, without forcing every websites to get both statistics scripts ?

I know I can make a feature request, but if I can get some hints on the forums to get it by myself, it would be much quicker, I've seen feature requests with many votes lying in the bugtracker for weeks or months before just being included into the roadmap.

I know this is normal : There's a lot of work, only few (one ?) developpers, but the final result is that a feature request won't be in a release before approximately 6 months, assuming that it gets many votes quickly.
Reply With Quote
  #7  
Old 30th August 2011, 14:57
corpus corpus is offline
Junior Member
 
Join Date: Jan 2011
Posts: 29
Thanks: 8
Thanked 12 Times in 9 Posts
Default use awstats and webalizer

Quote:
Originally Posted by till View Post
ISPConfig allows only to use webalizer or awstats as there is only one stats folder. Statistics processing uses a lot of re4sources on a busy server, so there is only one stats package enables per site. If you want to use both statistics packages at the same time, you might have to edit the cron_daily.php script.
What modifications have to do in file
/usr/local/ispconfig/server/cron_daily.php
so i can have awstats and webalizer ?
thank you
Reply With Quote
  #8  
Old 30th August 2011, 15:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
Default

Remove the stats_type = 'webalizer' and stats_type = 'awstats' from the sql queries and then change the

$statsdir = escapeshellcmd($rec['document_root'].'/web/stats');

in one of the two stats creation sections to anoter directorey e.g.

$statsdir = escapeshellcmd($rec['document_root'].'/web/webalizer');
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
corpus (30th August 2011), stef157 (23rd July 2014)
  #9  
Old 30th August 2011, 16:38
corpus corpus is offline
Junior Member
 
Join Date: Jan 2011
Posts: 29
Thanks: 8
Thanked 12 Times in 9 Posts
Smile

Thanks Till
should i remove also WHERE ftom th esql querie ?

Quote:
$sql = "SELECT domain_id, domain, document_root FROM web_domain WHERE stats_type = 'webalizer' AND server_id = ".$conf['server_id'];
I decided to have subdirs in folder stats whith name "webalizer" and "awstats"
so i edit
$statsdir = escapeshellcmd($rec['document_root'].'/web/stats');
to
Code:
$statsdir = escapeshellcmd($rec['document_root'].'/web/stats/webalizer');
and
Code:
$statsdir = escapeshellcmd($rec['document_root'].'/web/stats/awstats');
You don't need to create manually subdirs ?
code if(!@is_dir($statsdir)) mkdir($statsdir);
will make the job

if you change awstats folder you jave to take a look to line 197 and ad new folder
Code:
rename($rec['document_root'].'/web/stats/awstats.'.$domain.'.html',$rec['document_root'].'/web/stats/index.html');
thanks again

Last edited by corpus; 31st August 2011 at 17:27. Reason: updated
Reply With Quote
The Following User Says Thank You to corpus For This Useful Post:
stef157 (23rd July 2014)
  #10  
Old 30th August 2011, 16:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,964
Thanks: 825
Thanked 5,366 Times in 4,213 Posts
 
Default

No, just remove "stats_type = 'webalizer' AND"
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
corpus (30th August 2011), stef157 (23rd July 2014)
Reply

Bookmarks

Tags
aswstats, features, stats, webalizer

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer & Awstats driving me mental sheshes Installation/Configuration 10 19th February 2011 21:46
AWStats or Webalizer skoena General 4 8th November 2010 12:16
moving from webalizer to awstats yaw Installation/Configuration 2 30th September 2009 09:06
ISPConfig 2.2.29 webalizer awstats problem dvazart General 3 30th January 2009 22:21
md5 passwords enabled with webalizer and awstats add-on Rustin Installation/Configuration 1 6th January 2007 15:33


All times are GMT +2. The time now is 05:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.