Difference: InstallAwstats (6 vs. 7)

Revision 72019-08-16 - DaveDykstra

Line: 1 to 1
 
META TOPICPARENT name="InstallLaunchpad"

Installing Awstats and optionally Maxthreads

Changed:
<
<
The frontier-awstats package collects statistics from frontier-squid log files and sends them to the central monitoring server every hour. The statistics are very useful for analyzing what's happening on the squid, especially where traffic is coming from. It is only used on centrally managed squids, not on per-site squids. Here are the Release Notes of the rpm.
>
>
The frontier-awstats package collects statistics from frontier-squid log files and sends them to the central monitoring server four times an hour. The statistics are very useful for analyzing what's happening on the squid, especially where traffic is coming from. It is only used on centrally managed squids, not on per-site squids. It also collects statistics from httpd logs, if the wlcg-squid-monitor is configured to receive them. Here are the Release Notes of the rpm.
  This document also describes installation of another package called frontier-maxthreads that is often used on the same machines and which collects statistics from frontier-tomcat log files. Here are the Release Notes of that rpm.
Line: 10 to 10
 

Preparation

Changed:
<
<
frontier-awstats uses the same user and group ids as the frontier-squid package and in fact its operation is invoked by the frontier-squid cron script.
>
>
No preparation is necessary.

frontier-awstats uses the same user and group ids as the frontier-squid package and in fact its operation is invoked by the frontier-squid cron script when analyzing squid logs. When analyzing httpd logs, it is invoked as root by its own cron.

  frontier-maxthreads runs as root and is invoked by its own cron.

Installation

Added:
>
>
If you haven't installed anything from the cern-frontier yum repository, enable it with this command:
    # rpm -Uvh http://frontier.cern.ch/dist/rpms/RPMS/noarch/frontier-release-1.1-1.noarch.rpm
 If installing only frontier-awstats, as root run the following command to install:
    # yum install frontier-awstats

Line: 42 to 49
 

Debugging

Changed:
<
<
Once the first connection has been successfully made after the monitoring server is set up, the file /etc/awstats/awstatsconf should be automatically created. Error messages go to a log file called squidcron.log in the same directory as other squid logs (default /var/log/squid), because the squid hourly cron job invokes the awstats statistics generation script. On the monitoring server, rsync connections are logged in /var/log/messages.
>
>
Once the first connection has been successfully made after the monitoring server is set up, the file /etc/awstats/awstatsconf should be automatically created. Error messages go to a log file called squidcron.log in the same directory as other squid logs (default /var/log/squid), because the squid hourly cron job invokes the awstats statistics generation script. Error messages for httpd awstats go into /var/log/awstatscron.log. On the monitoring server, rsync connections are logged in /var/log/messages.
  Maxthreads log information goes to /var/log/maxthreads.log.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback