Page 1 of 1

How to check if a server is still alive?

PostPosted: Fri Jun 26, 2015 10:48
by davegoopot
Hi,

Is there a way I can ping my server to check that it is still alive an responding? I'm seeking a monitoring solution so I can have a script check every five mins that my server is still running and send me an alert if it isn't.

Thanks,

Dave.

Re: How to check if a server is still alive?

PostPosted: Fri Jun 26, 2015 13:00
by rubenwardy
see python and php scripts in https://github.com/minetest/minetest/bl ... otocol.txt

Be warned that if you run this on the same computer as the server, it will only tell you that the server is running and listening. There may be problems with internet connection or port forwarding.