I’ve been on Google and this forum for days now, and I think I am really far already, but I still have some questions regarding my setup.
I am using this tutorial: https://www.tompec.com/blog/automatically-reboot-server-when-its-down
I already succesfully installed the script on a seperate Droplet.
The questions I have:
Which URL do I insert in Uptime Robot to notify? I assume the URL of the droplet which has the script installed right? For example: https://api.digitalocean.com/v2/droplets/DIGITAL_OCEAN_DROPLET_ID/?
Which ID’s do I use in “config/servers.php”? // UptimeRobot monitor’s name => DigitalOcean server ID ‘Your-server-name’ => 12345678,
Your-Server-Name = Friendly Name of the UptimeRobot Monitor or the Friendly Name Uptime Robot Alert Contact?
DigitalOcean server ID = The Droplet ID of the droplet with the script running or the ID of the droplet which is actually down?
Hopefully you can point me in the right direction! :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!