I cleaned it up and grouped everything in one plugin for better performances.
Download : https://github.com/oliverde8/munin-mani ... master.zip
Exemple graph :

Exemple munin page : http://ns3100027.ip-37-59-61.eu/munin/m ... t-day.html
Installation
Copy the files in
Code: Select all
/etc/munin
Code: Select all
/etc/munin/mp-players.php
Code: Select all
$settings['name'][0] = 'server - 1'; //The name of the server as you would like to see it in munin$
$settings['ip'][0] = '127.0.0.1';
$settings['port'][0] = '5005';
$settings['login'][0] = 'Admin';
$settings['pwd'][0] = 'Admin';

Add the plugin to the plugin list of munin,
Restart munin node and you should be Ok
Code: Select all
services munin-node restart

Test if it works
You can test using this command if the installation works
Code: Select all
munin-run mp_players
Code: Select all
munin-run mp_players config
Exemple output
Code: Select all
multigraph mp_players_0
Connected
players.value 0
specs.value 0
multigraph mp_players_total
players.value 0
specs.value 0
Code: Select all
multigraph mp_players_0
graph_title ManiaPlanet Players - server - 1
graph_category ManiaPlanet
players.label Number of players
specs.label Number of Spectators
multigraph mp_players_total
graph_title ManiaPlanet Players - TOTAL
graph_category ManiaPlanet
players.label Number of players
specs.label Number of Spectators