[AWFFULL] month end problem

Anthony J. Biacco abiacco at formatdynamics.com
Tue Jan 6 04:59:36 EST 2009


I'm having a problem when awffull is running for the last day of the
month. I'm currently using 3.9.1-beta3.
So, some background..
My analyzing script fires every 4 hours. In cron, "0 0,4,8,12,16,20".
Now, in my script, I run the awffull twice, each on the same log file,
each with a different config file. Once for the monthly cumulative
update, and once to make a running daily update (to a separate output
directory, separate cumulative file). This is because I wanted a
separate details page for every day of the month to compare day-to-day
totals, like referrer hits, etc..
For the running daily update, at midnight on the following day, it
removes the cumulative file for the previous day. E.g. when processing
data for 12/30/08, I might output to OutputBaseDir/20081230 and then
when midnight rolls around on 12/31/08, I'll remove
OutputBaseDir/20081230/webalizer.current and start with
OutputBaseDir/20081231/webalizer.current.

So I've found that when I get to the end of the previous month, the
reporting for the month gets kind of truncated. So if I just ran at
midnight on 01/01/09 for the last of the 12/xx/08 month data, the 12/08
data in the main "Summary by Month" has all the "Daily Avg" columns set
to 0, but the "Monthly Totals" columns are all correct. Furthermore, if
I click on the 12/08 month to get the detailed data, the Daily Usage
graph all has bars for every day, yet the table underneath it for
Hits/Files/Pages/etc.. per day only has data for the first day of the
month, i.e. 12/01/08. 

I don't expertly know how the end of the month processing works for
awffull, but I'm assuming maybe the double processing of the same log
file in conjunction with the end of the month is causing this missing
data problem..so I'm deferring to anybody that can exaplin this to me,
and possibly suggest an alternative or workaround, if possible.

Much appreciated,

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco at formatdynamics.com
http://www.formatdynamics.com




More information about the AWFFull mailing list