Monitor Servers and Reboot SolusVM via Cronjob Bash Script

Monitor Servers and Reboot SolusVM via Cronjob Bash Script

5 years ago
Anonymous $fWzGa1uP8i

https://medium.com/@sungkhum/monitor-servers-and-reboot-solusvm-via-cronjob-bash-script-86ee020ec8f2

I’ve been looking for a way to monitor my various VPS web servers and to automatically reboot them if something goes wrong but I was never able to find a simple solution. I’ve used Monit — but at times it has failed to keep my servers up and running. So I’ve created my own bash script to do the job and thought I would share it.

First, you will obviously need a seperate VPS you can use to monitor your other VPS servers (I’m using an easy TurnKey Linux on mine which is Debian-based so you may need to modify the script based on what you are running).

Monitor Servers and Reboot SolusVM via Cronjob Bash Script

Apr 11, 2019, 11:41pm UTC
https://medium.com/@sungkhum/monitor-servers-and-reboot-solusvm-via-cronjob-bash-script-86ee020ec8f2 > I’ve been looking for a way to monitor my various VPS web servers and to automatically reboot them if something goes wrong but I was never able to find a simple solution. I’ve used Monit — but at times it has failed to keep my servers up and running. So I’ve created my own bash script to do the job and thought I would share it. > First, you will obviously need a seperate VPS you can use to monitor your other VPS servers (I’m using an easy TurnKey Linux on mine which is Debian-based so you may need to modify the script based on what you are running).