[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Stat Analysis



Kyle Smith <kyle.s@xxxxxxxxxxxxx> wrote:
> Thanks a bunch

You're welcome.  :-)

> Is there a way for it to track both web and ftp?

Yes, Webalizer can track both, but it can't track both together on the same set
of reports.  The web and ftp log formats are different so the logs can't be
combined.  You probably have a cron file on your system that's automatically
being run by cron or crontab nightly to generate the Webalizer reports.  If you
generate unique reports for each virtual site the file should contain a number
of sets of commands - to call Webalizer, parse the log file and generate a
report for each site.  You'll need to create a new set of commands for each
virtual site you want an FTP report for.  They should be identical to the format
for the virtual sites' web reports, but you will need to add the following flag:

-F ftp

The -F flag isn't need for the web stats reports b/c web log format is the
default.  You'll also have to change the portion of the script pointing to the
log file to the location of xferlog (probably /var/log/xferlog).  You may have
to do some additional tweaking if you don't want a single FPT report for your
entire server, but I can't say for certain b/c I don't know which method or log
files your Webalizer is setup to use.  "man webalizer" tells you pretty much
everything you need to know.

Steven Werby {steven-lists@xxxxxxxxxxxx}