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


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.


As root run the following command to install:

    # yum install frontier-awstats


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


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.


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

Edit | Attach | Watch | Print version | History: r7 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2013-03-14 - DaveDykstra
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Frontier All webs login

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