winny- / mcstat

Minecraft Status scripts for PHP
MIT License
27 stars 9 forks source link

Port Duplicated in Graph Title #1

Closed eanmclaughlin closed 10 years ago

eanmclaughlin commented 10 years ago

As shown here: http://games.snowmew.tk/stats/snowmew.tk/games.snowmew.tk/minecraft_users_games_snowmew_tk_25565.html the port number is displayed twice in the title of the graph. The file in /etc/munin/plugins is named minecraft_users_games.snowmew.tk:25565 (I couldn't get it to work without adding the port even though it's on the default and I saw regex for checking that in the program when I skimmed over it).

winny- commented 10 years ago

Hey! Thank you for reporting.

Can you gist your phpinfo()? From your server's shell:

$ php -a
> echo phpinfo();
winny- commented 10 years ago

Nevermind phpinfo(). Please try commit 033108100ff1e834b27bea4735d0f1da58098394 on branch fixPluginAutoconfig.

eanmclaughlin commented 10 years ago

Yep, that fixed it. Working great without port in file name and only showing it once in the graph title.

Thanks!

winny- commented 10 years ago

:cake: Glad to hear it!