munin-monitoring/contrib — pull request #52 by Azelphur (2012-02-28 03:10:13+00:00)
Title: (Generic) Game query module

Hi, I've written a generic game query module powered by GameQ. It will query many different types of game and voice servers (Full list at http://gameq.sourceforge.net/#games) and show graphs for how many people are connected. Here's a screenshot: http://dl.dropbox.com/u/3832397/Static/2012/February/munin-game.png

I had to use PHP, because the GameQ library is written in PHP. I would have chosen a more sensible language, however to my knowledge there is nothing else like GameQ.

I also had to use a config file instead of the environment variable system, as this module will work for any amount of game servers, a space separated variable would be very tedious to administrate when you have a lot of servers. That said I do have environment variables for the location of the config file, and the location of the state file.

I've only been using Munin for a few days so there may be one or two things wrong with it, let me know and I'll do my best to get it fixed! :)