Difference between revisions of "Service/stats"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "== Hostnames == * stats.sugarlabs.org == Hosted on == * Machine/sunjammer * Machine/jita == Administrative contact == stats AT sugarlabs DOT org == Sysadmins == ...")
 
Line 24: Line 24:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!scope="row" | Config<br>
+
!scope="row" | Config
 
|{{Code|/etc/apache2/sites-enabled/stats.sugarlabs.org}}<br>
 
|{{Code|/etc/apache2/sites-enabled/stats.sugarlabs.org}}<br>
 
{{Code|/etc/apache2/sites-enabled/jita.sugarlabs.org}}<br>
 
{{Code|/etc/apache2/sites-enabled/jita.sugarlabs.org}}<br>
Line 30: Line 30:
 
{{Code|/etc/cron.daily/awstats}}<br>
 
{{Code|/etc/cron.daily/awstats}}<br>
 
{{Code|/srv/awstats/www/*/awstats.conf}}
 
{{Code|/srv/awstats/www/*/awstats.conf}}
 +
|-
 +
!scope="row" | Requires
 +
| libgeo-ip-perl libnumber-format-perl
 
|-
 
|-
 
|}
 
|}

Revision as of 15:07, 27 November 2013

Hostnames

  • stats.sugarlabs.org

Hosted on

Administrative contact

stats AT sugarlabs DOT org

Sysadmins

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

Notes

Every Sugar Labs server collect AWStats data and generates (not sunjammer which hosts stats.sugarlabs.org) /awstats/total file to make it possible to collect total statistics on the master server.

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

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

Requires libgeo-ip-perl libnumber-format-perl

Upgrade notes

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