AwStats plugin for DA [Still in BETA]

Hi all.
I am a litle suprise when i look at the webalizer stats and awstats. They are not at all the same ...

I aded this cron each day at 2 am :
/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl

Di i have to put that cron job on each domain, or, just on one?

because, on one of my domain, i have 3 days with practicly no visits, but, i know from webalizer that there has as many as the days before. example :

05 Déc 2004 765 3702 17828 61.36 Mo
06 Déc 2004 858 3000 12994 50.81 Mo
07 Déc 2004 937 3205 12012 55.00 Mo
08 Déc 2004 865 3981 13724 53.29 Mo
09 Déc 2004 885 7662 24727 140.88 Mo
10 Déc 2004 31 83 436 1.55 Mo
11 Déc 2004 638 2945 11374 42.54 Mo
12 Déc 2004 90 315 1698 5.74 Mo

I have taken out the forst day and today, but, there is a problem there.

Thx for your help,
Sky
 
sky said:
Hi all.
I am a litle suprise when i look at the webalizer stats and awstats. They are not at all the same ...

I aded this cron each day at 2 am :
/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl

Di i have to put that cron job on each domain, or, just on one?

because, on one of my domain, i have 3 days with practicly no visits, but, i know from webalizer that there has as many as the days before. example :

05 Déc 2004 765 3702 17828 61.36 Mo
06 Déc 2004 858 3000 12994 50.81 Mo
07 Déc 2004 937 3205 12012 55.00 Mo
08 Déc 2004 865 3981 13724 53.29 Mo
09 Déc 2004 885 7662 24727 140.88 Mo
10 Déc 2004 31 83 436 1.55 Mo
11 Déc 2004 638 2945 11374 42.54 Mo
12 Déc 2004 90 315 1698 5.74 Mo

I have taken out the forst day and today, but, there is a problem there.

Thx for your help,
Sky

As the command says: update_all :) So all domains are update.

You can check if it updates every domain by running:

/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl

manualy through ssh :) and check the messages for every domain :)
 
Ok, and, one more question :)

How can whe get the awstats stats for subdomain?

Thx,
Sky
 
you'll have to create the subdomains ad Domains in DA or you'll have to create a copy of the /etc/awstats/awstats.[maindomain].conf and call it /etc/awstats.[sub].[domain].conf and change the LOG= to the proper logfile ;)

Will look into it if I could find a automatic way for it ;)
 
Is there anyway to get AWStats to auto install on the domain when added through DA? I want to offer this as a feature but don't want to manually go in and install it on each new domain.

THanks,
--Josh
 
The user installs it should they wish to use it which is advisible considering that Webalizer is always running. Now if AWstats could replace Webalizer alltogether then that would be another matter.
 
Well then I guess the right question is to the DA people. When will AWStats replace Webalizer? :D I love AWstats, both from a robust perspective as well as a visual one. Clients love the way it looks as well. Webalizer looks like it was designed in 1997. ;)

--Josh
 
I doubt DA will ever replace Webalizer since many customers have been using it for a while. I as the admin would like a choice. Since I have not yet put clients on my DA servers, I would like to be able to only offer awstats. Another point to take into consideration is that webalizer is faster and less of a load on your server.
 
I would also like that choice. I'm sure a conversion utility can be made to transfer existing stats if that is the main concern.
 
I'm not sure a conversion could be done. Aren't all the stats captured in a static html file? Customers can always print out there reports if they need them. Anyway a choice would be best.

This is one of the more easier and significant improvements I think that could be made to DA besides a email user panel(not sure if that is simple :) )
 
/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl

Hi, i'm trying it right now and well... is it supossed to doing it so long? :)
 
First Time yes! :) Could take a while to complete. First time my server, when having large site about 3 hours. Then every night it's running and takes about 10 minutes MAX ;)

But the perl file doesn't chew up much Memory and CPU, so it may take the time it needs :P

------

A while ago I've mailed DA about this plugin. They were interested, but never contacted me again about it :P
 
Update 2.0

- Added user selection (Only Admin level - As API isn't used to check wich users are bound to a reseller)


* Removing "x" bit on /etc/awstats, causes files not to be saved by the plugin
* Awstats 6.3 isn't added yet, as development is still in progress.

Any problems, let me know! ;)
 
Back
Top