Closed gfliker closed 8 years ago
This is a POST
only endpoint.
Try curl -XPOST /webhooks/prometheus
and you should get something like ...
{
"status": "error",
"message": "no alerts in Prometheus notification payload"
}
Or if you're running alerta in a docker container you'll need to add /api
to the endpoint path like this ...
/api/webhooks/prometheus
.
Im using the docker version ,will verify soon
Thx
You might find this answer useful ... https://github.com/alerta/prometheus-config/issues/2#issuecomment-188719201
While hitting this end point from the Alert manager were getting a 404 /webhooks/prometheus
Please advise and many thanks