Forum OpenACS Q&A: Re: awstats, user-tracking, views and openacs

Collapse
Posted by Deds Castillo on
Malte,

Quick question to the people using awstats out there. What setup are you using?

For SG since we are using Solaris zones, we have one central awstats installed and each web instance calls the same awstats with different .conf files each.

We also have a crude awstats-support package which takes care of most things like initial conf creation, scheduled procs to run, interface for basic edits of some conf variables, and probably some other stuff. I haven't really looked at user-tracking package. Correct me if I'm wrong but I think that requires an edit on the access log format to insert the user_ids? Our awstats-support package doesn't really extend it as it doesn't do any user tracking just basic web stats.

Do you call awstats.pl in a cronjob once per night, right after logroll ?

Called via scheduled proc from the awstast-support package. Default install would assume that you logroll every night.

Do you keep the access log in one file?

No and not really advisable so that awstats.pl doesn't need to revisit parsed log entries.

Which version of awstats are you using?

Currently this one -- Advanced Web Statistics 6.5 (build 1.857). But its central so we only need to update it once everytime for all our zones.

What is the default statistics that you usually gather?

Usually default from the standard conf file + geo tracking with the GeoIP.pm module installed. I'm not sure if we already have GeoIP.pm now as we did some server transfers

Would it make sense to have an installation instructions for awstats and OpenACS?

The package is not complete but I can add it as documentation then have the package downloadable somewhere or added to HEAD if there's enough interest.

Collapse
Posted by Iuri Sampaio on
Quick question to the people using awstats out there. What setup are you using?
like Castillo I have the same installation. My server runs Solaris OS and it's divided in zones and each web instance call diferent .conf files ex: awstats-yabt.conf, awstats-yabtdev.conf

but the diferent thing is that I do need to run the update script every time i need to report the statistic.

Do you call awstats.pl in a cronjob once per night, right after logroll ?
Yes , I schedulle on crontab file every night to run the respective perl scripts basicaly the general one:
alldomains and a few specific reports.

perl awstats.pl -config=mysite -output=allhosts -staticlinks > awstats.mysite.allhosts.html
perl awstats.pl -config=mysite -output=lasthosts -staticlinks > awstats.mysite.lasthosts.html
perl awstats.pl -config=mysite -output=unknownip -staticlinks > awstats.mysite.unknownip.html
perl awstats.pl -config=mysite -output=alllogins -staticlinks > awstats.mysite.alllogins.html
perl awstats.pl -config=mysite -output=lastlogins -staticlinks > awstats.mysite.lastlogins.html

Which version of awstats are you using?
I'm not quite sure, it was the zill.net who installed but I guess it's the ;atest one, since we started to use it only 3 months ago

Would it make sense to have an installation instructions for awstats and OpenACS?
it makes sense, they already have some docs at their website
http://www.awstats.org/

It would be great if we can match OpenaACS with awstats, gathering some info from there.

Collapse
Posted by Malte Sussdorff on
Hi Deds, is the awstats support package available somewhere ?