Révision a02e98ad
initial README
| plugins/minecraft/jsonapi/README.md | ||
|---|---|---|
| 1 |
munin-bukkit-plugins |
|
| 2 |
==================== |
|
| 1 |
# munin-bukkit-plugins |
|
| 3 | 2 |
|
| 4 |
Some useful Munin plugins if you run a Bukkit (Minecraft) server with JSONAPI. |
|
| 3 |
This repository contains some useful [Munin](http://munin-monitoring.org/) plugins to monitor and observe a [Bukkit](http://bukkit.org) server. |
|
| 4 |
|
|
| 5 |
Read more in my [blog post](http://). |
|
| 6 |
|
|
| 7 |
## Requirements |
|
| 8 |
|
|
| 9 |
* Bukkit server with [JSONAPI](https://github.com/alecgorge/jsonapi) plugin |
|
| 10 |
* Web server with Munin (2) and `PHP` support |
|
| 11 |
|
|
| 12 |
## Configuration |
|
| 13 |
|
|
| 14 |
1. Adjust the JSONAPI variables in each plugin |
|
| 15 |
1. Make sure the `PHP` binary in the Shebang line is executable |
|
| 16 |
|
|
| 17 |
## Installation |
|
| 18 |
|
|
| 19 |
1. Clone this repository: `git clone git@github.com:frdmn/munin-bukkit-plugins.git` |
|
| 20 |
1. Perform your configuration (see above) |
|
| 21 |
1. Move the plugins into the Munin plugin directory: `mv mcjson* /usr/share/munin/plugins/` |
|
| 22 |
1. Change the ownership: `chown munin:munin /usr/share/munin/plugins/mcjson*` |
|
| 23 |
1. Make sure they are exectuable: `chmod 755 /usr/share/munin/plugins/mcjson*` |
|
| 24 |
1. Enable the plugins: `ln -s /usr/share/munin/plugins/mcjson* /etc/munin/plugins/` |
|
| 25 |
1. Restart your munin-node: `service munin-node restart` |
|
| 26 |
1. Run your cron: |
|
| 27 |
|
|
| 28 |
su - munin --shell=/bin/sh |
|
| 29 |
/usr/bin/munin-cron |
|
Formats disponibles : Unified diff