playit-cloud / playit-agent

The playit program
BSD 2-Clause "Simplified" License
257 stars 21 forks source link

Status check or service check for tunnel functional. #57

Closed kwslavens closed 3 months ago

kwslavens commented 1 year ago

If possible can a tunnel status check be added? Something like

playit tunnel minecraft

Returning a 1 for up or 0 for down? I'd like to eventually use this to setup a monitored cron script to restart the service if it goes down.

If this is already possible can you point me in the right direction to find it?

arosado2895 commented 1 year ago

You can use uptime Kuma or any other port monitor to monitor your game server. https://github.com/louislam/uptime-kuma

Hope this helps.

loriopatrick commented 3 months ago

Out of scope for the client application. We did have a bug where playit would not reconnect properly, should be resolved now :crossed_fingers:. The playit backend may oneday offer monitoring and notifications if the origin for your tunnel goes down.