2
0
Fork 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

26 lines
1.1 KiB
Markdown
Raw Normal View History

2013-03-26 20:58:21 +01:00
# munin-bukkit-plugins
2013-03-26 20:45:16 +01:00
2013-03-26 20:58:21 +01:00
This repository contains some useful [Munin](http://munin-monitoring.org/) plugins to monitor and observe a [Bukkit](http://bukkit.org) server.
Read more in my [blog post](http://).
## Requirements
* Bukkit server with [JSONAPI](https://github.com/alecgorge/jsonapi) plugin
2013-03-26 21:02:11 +01:00
* Web server with `PHP` support and Munin (2)
2013-03-26 20:58:21 +01:00
## Configuration
2013-03-26 22:18:39 +01:00
1. Clone this repository: `git clone git@github.com:frdmn/munin-bukkit-plugins.git`
2013-03-26 20:58:21 +01:00
1. Adjust the JSONAPI variables in each plugin
1. Make sure the `PHP` binary in the Shebang line is executable
## Installation
1. Perform your configuration (see above)
1. Move the plugins into the Munin plugin directory: `mv mcjson* /usr/share/munin/plugins/`
1. Change the ownership: `chown munin:munin /usr/share/munin/plugins/mcjson*`
1. Make sure they are exectuable: `chmod 755 /usr/share/munin/plugins/mcjson*`
1. Enable the plugins: `ln -s /usr/share/munin/plugins/mcjson* /etc/munin/plugins/`
1. Restart your munin-node: `service munin-node restart`
2013-03-26 21:03:19 +01:00
1. Run your cron: `su - munin --shell=/bin/sh -c /usr/bin/munin-cron`