OpenHardware MUC statistics
Why?
One of my users, namely kikuchiyo, approached me with his idea to determine the distribution of users in his MUC room. The given hypothesis was, that the user count peaks during the weekend. As my general monitoring does not track the user count per room I was fairly interested in the data. Unfortunately ejabberd is not able to export these statistics, thus some custom steps were required.
data aggregation take 1
The first kind of rough data collection was done through a small bash script appending the collected data points to a CSV file. Due to the script using the sleep command I wasn’t counting on it being highly time wise precise.