Difference between revisions of "Service/stats"

From Sugar Labs
Jump to navigation Jump to search
 
Line 28: Line 28:
 
{{Code|/etc/cron.hourly/awstats}}<br>
 
{{Code|/etc/cron.hourly/awstats}}<br>
 
{{Code|/etc/cron.daily/awstats}}<br>
 
{{Code|/etc/cron.daily/awstats}}<br>
{{Code|/etc/logrotate.d/apache2}<br>
+
{{Code|/etc/logrotate.d/apache2}}<br>
 
{{Code|/srv/awstats/www/*/awstats.conf}}
 
{{Code|/srv/awstats/www/*/awstats.conf}}
 
|-
 
|-

Latest revision as of 02:35, 7 December 2013

Hostnames

Hosted on

Administrative contact

stats AT sugarlabs DOT org

Sysadmins

For non-emergency calls, preferably send email to the administrative contact.

Notes

Config /etc/apache2/sites-enabled/stats.sugarlabs.org

/etc/apache2/sites-enabled/jita.sugarlabs.org
/etc/cron.hourly/awstats
/etc/cron.daily/awstats
/etc/logrotate.d/apache2
/srv/awstats/www/*/awstats.conf

Requires libgeo-ip-perl libnumber-format-perl

Every stats node collects AWStats data locally for every site it supports. AWStats pages (per site) on every node are available via HTTP from /SITE urls. Slave nodes provides their totals from /awstats/total urls. Master node (sunjammer), generates totals index for stats.sugarlabs.org.

Upgrade notes

  • git pull on /srv/awstats/awstats.
  • git pull on /srv/awstats/awstatstotal.