Minecraft 1.9 Monitoring Template

Version 3

    Working as a Sales Engineer at Solarwinds, we're frequently trying to demonstrate that SAM can literally monitor anything.  To that end, I spent some nights and weekends creating an application template for that most-important of things: Minecraft!

     

    2016-03-22 08_26_55-2016-03-22 06_49_49-Application Details Ofuscated.png  2016-03-22 08_54_41-2016-03-22 06_56_03-Application Component Details - java.png

     

    To set this up, I am running a CraftBukkit/Spigot server (which makes it super easy to script updates) with MCRCON for service management.  This was all tested on CentOS 7.

     

    As a bonus, I have the Minecraft Overviewer running (which is the Python process) which generates these handy maps for embedding in your Orion console.  I am using nginx to serve those maps up as webpages, so that's what those processes are for.

     

    2016-03-22 08_44_22-Minecraft Overviewer.png

     

    Getting the MBeans for Minecraft to be accessible took this line in execution (as part of a Centos service definition)

     

    ExecStart=/usr/bin/java -Xmx1024M -Xms1024M -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8686 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=[IP OF MINECRAFT SERVER] -jar spigot.jar --noconsole

     

    Where "Spigot.jar" is the build of Minecraft I'm using.

     

    SAM: We can really monitor anything!