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

Re: [cobalt-users] Stat Analysis



There is webalizer.pl in /etc/cron.daily/

This is from the file:

# Now just run webalizer
    $messages .=
       `webalizer -n $asite -s $asite -r $asite -q -T -o $thepath
$prefix/$asite/logs/web.log`;
    # Now change ownership of stats files for siteadmin
    $messages .= `chown -R httpd:$name $thepath`;

Would I add the -f flag into that? If so, what should it look like with the
-f tag in it.

Also, I edited the webalizer.conf file in /etc/

I modified the log file to look like:

#LogFile        /var/log/xferlog

And I changed the log type to #LogType    ftp

The output directory is set to #OutputDir      /var/lib/httpd/htdocs/usage,
but I have no such directory. What should that be set to?

Thanks

> From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
> Date: Thu, 3 Aug 2000 10:35:04 -0400
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Subject: 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}
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>