chained thresholds and IT automations

chained thresholds and IT automations

Hi folks, has anyone set up a "chained" or "escalating" responses to, let's say, an outage?  You can set up multiple automations, but I want them to occur in a waterfall fashion.  For example:

-- If apache fails (threshold), then start apache service (IT automation)
-- --  If that doesn't succeed, then restart the server (IT automation)
-- -- --  If that doesn't succeed, then restart AWS EC2 instance (IT automation)

Anyone set something like this up? Can you share your setup? Or, where do I start?


Thanks! Kris