Running a status site that allows for remote updates that I would like to alert from Grafana (things like a sustained 50% cpu usage triggers “degraded performance” on status page) on an alert trigger and an alert clear.
I can do it manually with a simple curl put but it requires its own auth-headers and the body has the json for the service and the status.
Is this at all possible in the webhook or would this be a feature request?
An example curl I have to trigger now is:
curl -X POST https://status.--.com/api/v1/services/set_status -H 'Content-Type: application/json' -H 'X-Auth-Secret: ddd' -H 'X-Auth-Token: yyy' -d '{"service":"exchange", "status":"degraded-performance"}'