mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
1.1 KiB
1.1 KiB
munin-bukkit-plugins
This repository contains some useful Munin plugins to monitor and observe a Bukkit server.
Read more in my blog post.
Requirements
- Bukkit server with JSONAPI plugin
- Web server with
PHP
support and Munin (2)
Configuration
- Clone this repository:
git clone git@github.com:frdmn/munin-bukkit-plugins.git
- Adjust the JSONAPI variables in each plugin
- Make sure the
PHP
binary in the Shebang line is executable
Installation
- Perform your configuration (see above)
- Move the plugins into the Munin plugin directory:
mv mcjson* /usr/share/munin/plugins/
- Change the ownership:
chown munin:munin /usr/share/munin/plugins/mcjson*
- Make sure they are exectuable:
chmod 755 /usr/share/munin/plugins/mcjson*
- Enable the plugins:
ln -s /usr/share/munin/plugins/mcjson* /etc/munin/plugins/
- Restart your munin-node:
service munin-node restart
- Run your cron:
su - munin --shell=/bin/sh -c /usr/bin/munin-cron