This example dashboard also includes a list of events from the log file, showing if there is a lot of warning events in the log file. Once all data is collected, both Minecraft specific and server data, OMS View Designer can be used to build a Minecraft dashboard (more info about View Designer here) The dashboard in gives us an overview of the Minecraft server, both from performance and Minecraft perspective. These two performance counters can then be collected by OMS as Windows Performance counters Thanks to Michael Repperger for the perf count example. The script can be download here, WritePerfData. The script also count number of unique players that have logged on to the server (number of files in the %Minecraft%\world\playerdata folder) and writes it as a performance counter. But you can count number of connections on the Minecraft port (default port 25565) ? I have created a PowerShell script to count number of connections and write it as a new performance counter to the local server. Unfortunately the Minecraft server don’t have a performance counter for this or an easy way to read it from the server. More information about custom fields here.Īnother interesting thing to monitor on a Minecraft server is number of connected players. We can use Log Search to review collected data (Type=WinMinecraftLog_CL) from the log file. Custom Fields can be used to add a new searchable field for the log severity, in this example OMS extract WARN and INFO and store it as WinMinecraftLogSeverity_CF. More info about configure custom log here. In my example I have setup custom log named WinMinecraftLog_CL (_CL is added automatically). Note the name of the custom log, as it is the type you use to search for this events. In OMS under Settings/Data/Custom Logs you can configure OMS to collect data from this log file. You can also use the log file to see if the server is running and if the world is ready. In this log file you can see players joined, disconnected and some player activity like achievements or if a player dies. Those are all out of the box OMS features.įor Minecraft there is a log file, %Minecraft%\logs\latest.log, that Minecraft use to log everything around “the world” running in the server. I installed the OMS agent on the server and enabled Windows performance monitoring for processor, memory, disk queue and network traffic. The first part, server performance, is easy to solve. As a former SCOM geek I have of course configured monitoring for this server ? The server in this blogpost is a Windows server but most of the example works the same for a Minecraft server running on Linux. On the Minecraft server there are two types of resources that I would like to monitor, server performance and Minecraft logs. Please report bugs and make suggestions.From time to time I play Minecraft with friends. So improvements and bug fixes have to be made. So you can also check your TPS (Ticks per seconds), player ping, server timings and so on. This might be useful for server owners/administrators who cannot use the tools.įurthermore it especially made for Minecraft itself. This plugin gives you the possibility to use the features provided by these tools also in Minecraft itself. This plugin is based on the powerful tools VisualVM and Java Mission Control, both provided by Oracle. Gives you the possibility to monitor your server performance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |