I run approximately 8 Garry’s Mod servers and have been running them through NFO paying a ton. I’m at the point now where I’m starting to buy Dedicated Servers running on Ubuntu 13.10 and I’m running into an issue with a few of my servers in regards to the process locking up. When the process locks up it’s not technically considered “crashed” and just hangs there until the process is killed and re-initiated manually. The problem lies with most of my staff not knowing anything about Linux or SSH and being able to restart them when necessary.
I have looked around for quite a while before posting here since I usually tend to get banned.
Is there a polling system which checks the servers like every 5 minutes to check if it’s actually responsive, and if not end the process and restart it? I realize that there is a cron-job but that’s usually only used for auto-run once the server boots up. I’m pretty sure something can be easily coded in Perl or something similar but I’m not gifted with anything in that venue.
I’m looking for any advice, references on where to search and possibly anyone who already has an existing script and willing to share it with me. I am not cheap and could make it worth your time if I get what i’m looking for.