unixfox / grafana-stratusnetwork

Scripts and programs for generating the grafana dashboard for the Minecraft server Stratus Network
https://graph.unixfox.eu
6 stars 0 forks source link

Advanced track of the status of the server #12

Open unixfox opened 6 years ago

unixfox commented 6 years ago

Currently I only track the status of the proxy, add a panel to tell if the lobby is down or the proxy.

Submitted by "CDS_"


Status of the server mixed. Get client ping and detect if higher than minimal ping when the server just restarted.

Siceth commented 6 years ago

Is there any reliable way to do this without a second bot always on the lobby? I would imagine the easiest method be making the lobby queryable on Stratus' end, but I don't know the chances of that happening.

unixfox commented 6 years ago

There is unfortunately no reliable way to do this without a second bot. But I've an idea: ask the bot to every minute do "/lobby" and check if it can switch to it. I had another idea to avoid doing the switch to the lobby every minute is to check if there are players in the lobby via /servers but I don't know if when the lobby hangs/freeze the output of the command will show 0 connected players or the amount of players that there was before the lobby was frozen.