Home Directory Plugins Games check_minecraft_server

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_minecraft_server

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-08-08
Compatible With
  • Nagios 3.x
License
GPL
Hits
58866
Files:
FileDescription
minecraft_serverhealth.shShows the server health as determined by the Performance Monitor plugin
minecraft_servermemory.shShows total allocated memory, free and used.
minecraft_serverplayers.shShows # of players vs how many slots are available
minecraft_servertps.shShows ticks per second
minecraft_world_size.shShows the size of the world folders
Memory Usage Graph.pngScreenshot - Memory Usage Graph
Number of Players.pngScreenshot - Number of Players Graph
World Size.pngScreenshot - World Size Graph
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
These plugins will monitor various aspects of a "Bukkit" Minecraft server.

- World size in MB (PerfData)
- Ticks per Second (PerfData)
- Server Health
- # of Players / Slots (PerfData)
- Server Memory stats (PerfData)

- The plugins DO NOT accept any arguments at this time.
- The plugins DO NOT output any status other than OK except for minecraft_serverhealth which is either OK or CRITICAL.
- It is assumed that you are familiar with Nagio and PNP4Nagios to generate graphs based on perfdata

Tested on:
Theses were written and tested on CraftBukkit 1.3.1-R1.0, running on Ubuntu 12.xx (64-bit)


Prerequisites:
- CraftBukkit 1.3.1-R1.0 (http://dl.bukkit.org/downloads/craftbukkit/)
- Performance Monitor Plugin for CraftBukkit (http://plugins.bukkit.org)
- mcrcon for Linux (http://sourceforge.net/projects/mcrcon/)
You will need to install CraftBukkit and get both plugins installed and working before you begin configuring the plugins.



Additional CraftBukkit configuration:
1. Edit the server.properties file and set the following:
enable-rcon=true
rcon.port=25575
rcon.password=password

If these properties do not exist, add them.

2. Restart minecraft

3. Put mcrcon somewhere, make sure mcrcon is executable

4. Edit the path to mcrcon / host / port and password in the plugins (except world_size)

5. Edit minecraft_world_size and put the path to your minecraft directory. The script assumes that the world folders begin with "world", if yours is different, it shouldn't be too hard to alter the script.

6. Configure the plugins as any other in Nagios