Pagerduty: Tone‐Out for Cloudflare - lbonanomi/notes GitHub Wiki

Add a custom integration to an escalation policy, feed that to:

{{curl -s https://www.cloudflarestatus.com/api/v2/status.json | jq -r .status.indicator | grep -q minor && curl -X POST -d '{ "service_key":"$KEY", "event_type":"trigger", "description":"Cloudflare Popped", "client":"autonag"}' https://events.pagerduty.com/generic/2010-04-15/create_event.json}}