Project:LHS Graphs and Visualizations
| LHS Graphs and Visualizations
To chart the metrics various bits of data are exposed in a Cacti friendly way.
Number of members
We may have to wait 12 months before it becomes interesting.
SELECT COUNT(id) FROM users WHERE subscribed = true;
Cacti runs on chomsky but the members database is on Turing. There is a PHP script on Turing to expose the member numbers and then a script on chomsky to pull this in with a HTTP request.
See project: ircensus
- We get this using the MediaWiki API:
<?xml version="1.0"?> <api> <query> <statistics pages="759" articles="215" views="229656" edits="7368" images="186" users="166" activeusers="22" admins="61" jobs="13" /> </query> </api>
A Perl script generates the following output for cacti: pages:759 articles:215 views:229656 edits:7368 images:186 users:166 activeusers:22 admins:61 jobs:13
Mailing list activity
- My thanks to JamesG for his assistance and '184.108.40.206' for the original idea. We poll and scrape the groups page for members and and message count.
We have a script that outputs: members:693 messages:3123
See project: spacensus