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

Directory Tree

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
63320
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
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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