Comment 6 for bug 1203137

Revision history for this message
Bhuvan Arumugam (bhuvan) wrote :

The patch is inline with above notes. new script added to generate the stats using sss. The script is hooked into puppet, to run every hour. The stats are stored in /var/lib/statusbot/www/stats and irc logs for all channels are expected in /var/lib/statusbot/www directory.

Once the patch is applied and script is run, the stats should be accessible using this url:
  http://eavesdrop.openstack.org/irclogs/stats

See help for more details.
ircstats.py -h
usage: ircstats.py [-h] [-V] [-c CHANNEL [CHANNEL ...]] [-v] -l IRCLOG_BASE -t
                   CONF_TEMPLATE -i INSTALL_BASE

optional arguments:
  -h, --help show this help message and exit
  -V, --version version
  -c CHANNEL [CHANNEL ...], --channel CHANNEL [CHANNEL ...]
                        collect stats for these irc channels
  -v, --verbose print debug information
  -l IRCLOG_BASE, --irclog-base IRCLOG_BASE
                        irclog base directory
  -t CONF_TEMPLATE, --conf-template CONF_TEMPLATE
                        template to use for generating conf
  -i INSTALL_BASE, --install-base INSTALL_BASE
                        stats install base directory