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.
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
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: eavesdrop. openstack. org/irclogs/ stats
http://
See help for more details.
CONF_ TEMPLATE -i INSTALL_BASE
ircstats.py -h
usage: ircstats.py [-h] [-V] [-c CHANNEL [CHANNEL ...]] [-v] -l IRCLOG_BASE -t
optional arguments:
collect stats for these irc channels
irclog base directory
template to use for generating conf
stats install base directory
-h, --help show this help message and exit
-V, --version version
-c CHANNEL [CHANNEL ...], --channel CHANNEL [CHANNEL ...]
-v, --verbose print debug information
-l IRCLOG_BASE, --irclog-base IRCLOG_BASE
-t CONF_TEMPLATE, --conf-template CONF_TEMPLATE
-i INSTALL_BASE, --install-base INSTALL_BASE