Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_minecraft_server
1.0
2012-08-08
- Nagios 3.x
GPL
63402
File | Description |
---|---|
minecraft_serverhealth.sh | Shows the server health as determined by the Performance Monitor plugin |
minecraft_servermemory.sh | Shows total allocated memory, free and used. |
minecraft_serverplayers.sh | Shows # of players vs how many slots are available |
minecraft_servertps.sh | Shows ticks per second |
minecraft_world_size.sh | Shows the size of the world folders |
Memory Usage Graph.png | Screenshot - Memory Usage Graph |
Number of Players.png | Screenshot - Number of Players Graph |
World Size.png | Screenshot - World Size Graph |
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!
- 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
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
Reviews (0)
Be the first to review this listing!