I was wondering if it is possible to monitor Minecraft Server Instances from a Host. What do I mean:
I use a Windows Server as a Host for 2 to 3 Minecraft Servers. In Icinga I do monitor the Windows Server only so far. The Minecraft Servers are all running 24/7 on this Windows Machine simultaneously.
Is it possible to Monitor major Endpoints of the Spark Profiler Plugin, like TPS, Player Count and Uptime, via Icinga2?
Thanks mate! Nice to have a start point with your Quick-Links but those Scripts are over 10 Years old. I think the best practice would be to develop my own Script which fetches the required data and to develop my own Icinga2 Check to connect the Script with Icinga, am I right?
I am not a Software Developer so Scripting is not an easy Task for me I have to admit
I use Paper MC Minecraft Servers which have Spark as a native Profiler. Additionally I do have Plan as a Dashboard Plugin always installed on my Servers. When I recall correctly, there are some API Endpoints of Plan which can be used to display certain data fetched by Plan on your own Website etc.
Wouldn´t it be possible to create a Script which fetches this exact Data by Plan and reuses it for Icinga?
As Prometheus exporters expose metrics in a simple one per line format. You could use the vanilla check_http, to grab and evaluate the interesting information, but it will get a bit messy with regex.