I need a simple application that will be installed on a DigitalOcean droplet, to monitor another droplets.
You may write this in ANY language, as long as I can use it online ... The purpose is to reboot a droplet if its goes down. That's all.
There are lots of open sources libraries to manage digitalOcean droplets.. here are few examples:
[PHP] [url removed, login to view]
[python] [url removed, login to view]
[java] [url removed, login to view]
[url removed, login to view]
I prefer the PHP... i do NOT want all full management of droplets...
Just what's enough to reboot and/or powerCycle the droplet based on monitor status...
I will just need a simple web interface to set the following values:
-- Name of the monitor task.
-- Droplet to be monitored
-- Time Interval to monitor.
-- API access Key (for monitored droplet).
-- Droplet ID#
-- # of Triggers (how many times should trigger be positive before reboot)
Using API access key, and Droplet ID, this is how your app will gain full control over that droplet.