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.
This was a temporary statistics gathering process only. No user data was exposed, all data points are acquirable through any participants local history. The usage of server side tools only reduced the required time counting.
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.