2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
contrib-munin/plugins/minecraft/jsonapi/README.md
2014-03-13 12:21:27 +01:00

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 Munin (2) and PHP support

Configuration

  1. Adjust the JSONAPI variables in each plugin
  2. Make sure the PHP binary in the Shebang line is executable

Installation

  1. Clone this repository: git clone git@github.com:frdmn/munin-bukkit-plugins.git

  2. Perform your configuration (see above)

  3. Move the plugins into the Munin plugin directory: mv mcjson* /usr/share/munin/plugins/

  4. Change the ownership: chown munin:munin /usr/share/munin/plugins/mcjson*

  5. Make sure they are exectuable: chmod 755 /usr/share/munin/plugins/mcjson*

  6. Enable the plugins: ln -s /usr/share/munin/plugins/mcjson* /etc/munin/plugins/

  7. Restart your munin-node: service munin-node restart

  8. Run your cron:

    su - munin --shell=/bin/sh /usr/bin/munin-cron