How to check if a server is still alive?

davegoopot
Member
 
Posts: 15
Joined: Sat Apr 06, 2013 08:43
GitHub: davegoopot

How to check if a server is still alive?

by davegoopot » Fri Jun 26, 2015 10:48

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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Fri Jun 26, 2015 13:00

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.
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 17 guests

cron