Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How can I retrieve a list of unhealthy droplets
I am looking to revtrieve a list of droplets which have failed the loadbalancer healthchecks and are currently “down”
The idea being I have a periodic script the runs, finds all the unhealhy/down droplets and replaces them with new ones.
The best I could find were some XHR requests made in the dashboard which look something like:
But that is not available via the API.
Does anyone know of a way to do this?