Difference: InstallAwstats (1 vs. 6)

Revision 62014-12-22 - DaveDykstra

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

Installing Awstats

>
>

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 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.

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.

 

Preparation

Changed:
<
<
This package uses the same user and group ids as the frontier-squid package.
>
>
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.

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

 

Installation

Changed:
<
<
As root run the following command to install:
>
>
If installing only frontier-awstats, as root run the following command to install:
 
    # yum install frontier-awstats
Added:
>
>
If installing both frontier-awstats and frontier-maxthreads, instead run the following command:
    # yum install frontier-maxthreads
 

Configuration

Edit /etc/awstats/password-file with a password you want to use to authenticate on the monitoring server. Tell the password you chose to the administrator of the monitoring server, along with the site name and machine name or preferred alias.

Configuration of the installation is automatic, once the central monitoring server is configured.

Added:
>
>
frontier-maxthreads uses the same password from the awstats package but uploads its data to frontier.cern.ch instead of wlcg-squid-monitor.cern.ch.
 

Testing

If there is at least one transaction in the log, for example made by the InstallSquidForLaunchpad Testing instructions, and the monitoring server is configured correctly, within one hour there should be some statistics showing up on the monitoring server. The links to the awstats pages are on the monitoring server homepage.

Added:
>
>
Maxthreads data should show up on a maxthreads monitoring page within five minutes.
 

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.
>
>
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.

Maxthreads log information goes to /var/log/maxthreads.log.

  Responsible: DaveDykstra \ No newline at end of file

Revision 52014-08-29 - DaveDykstra

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

Installing Awstats

Line: 10 to 10
  This package uses the same user and group ids as the frontier-squid package.
Deleted:
<
<
Before installation, create the /etc/awstats directory with the same owner and group as /etc/squid. Then create /etc/awstats/password-file with a password you want to use to authenticate on the monitoring server, make the file owner and group the same as on /etc/awstats, and change the mode to 400. Tell the password you chose to the administrator of the monitoring server, along with the site name and machine name or preferred alias.
 

Installation

As root run the following command to install:

Line: 21 to 19
 

Configuration

Added:
>
>
Edit /etc/awstats/password-file with a password you want to use to authenticate on the monitoring server. Tell the password you chose to the administrator of the monitoring server, along with the site name and machine name or preferred alias.
 Configuration of the installation is automatic, once the central monitoring server is configured.

Testing

Changed:
<
<
If there is at least one transaction in the log, for example made by the InstallSquidForLaunchpad Testing instructions, and the monitoring server is configured correctly, within one hour there should be some statistics showing up on the monitoring server. The links to the awstats pages are on the monitoring server homepage.
>
>
If there is at least one transaction in the log, for example made by the InstallSquidForLaunchpad Testing instructions, and the monitoring server is configured correctly, within one hour there should be some statistics showing up on the monitoring server. The links to the awstats pages are on the monitoring server homepage.
 

Debugging

Revision 42014-03-05 - DaveDykstra

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

Installing Awstats

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.
>
>
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.
 

Revision 32013-03-14 - DaveDykstra

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

Installing Awstats

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 currently only used on centrally managed squids, not on per-site squids.
>
>
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.
 
Line: 29 to 29
 

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 into /etc/squid/cron/daily.log because the squid hourly cron job invokes the awstats statistics generation script.
>
>
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.
  Responsible: DaveDykstra

Revision 22012-11-14 - DaveDykstra

Line: 1 to 1
 
META TOPICPARENT name="InstallLaunchpad"
Deleted:
<
<
THIS PAGE IS UNDER CONSTRUCTION
 \ No newline at end of file
Added:
>
>

Installing Awstats

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 currently only used on centrally managed squids, not on per-site squids.

Preparation

This package uses the same user and group ids as the frontier-squid package.

Before installation, create the /etc/awstats directory with the same owner and group as /etc/squid. Then create /etc/awstats/password-file with a password you want to use to authenticate on the monitoring server, make the file owner and group the same as on /etc/awstats, and change the mode to 400. Tell the password you chose to the administrator of the monitoring server, along with the site name and machine name or preferred alias.

Installation

As root run the following command to install:

    # yum install frontier-awstats

Configuration

Configuration of the installation is automatic, once the central monitoring server is configured.

Testing

If there is at least one transaction in the log, for example made by the InstallSquidForLaunchpad Testing instructions, and the monitoring server is configured correctly, within one hour there should be some statistics showing up on the monitoring server. The links to the awstats pages are on the monitoring server homepage.

Debugging

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 into /etc/squid/cron/daily.log because the squid hourly cron job invokes the awstats statistics generation script.

Responsible: DaveDykstra

Revision 12012-11-02 - DaveDykstra

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="InstallLaunchpad"
THIS PAGE IS UNDER CONSTRUCTION
 
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