AlertmanagerRocketChat
AlertmanagerRocketChat copied to clipboard
"Unexpected Status Code 400 from.."
Hey, First of all thanks for your little snippet for the Prometheus AlertManager for Rocketchat. I tried to get this work, but I get this error Message here:
alertmanager_1 | level=error ts=2018-06-21T10:07:08.312369373Z caller=dispatch.go:266 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="cancelling notify retry for \"webhook\" due to unrecoverable error: unexpected status code 400 from https://xxxx.xxx.xxx/hooks/xxxxxxxxxxxxxx
When I check the webhook manually I see this error:
{"success":false,"error":"error-running-script"}
Rocketchat Version: 0.65.1
Hi @shibumi , did you get any solution for this?
no
@pavel-kazhavets Hello, is this project still alive?
@shibumi Could it be the case that your alerts are missing some of the annotations, which are required due to the current version of the script?
Please try out the script from my PR (https://github.com/pavel-kazhavets/AlertmanagerRocketChat/pull/6).
@shibumi @shibumi Sorry for late response. This project is not maintained at this moment and was created just to fix an issue I had at hand. I don't work with RocketChat anymore, so contributions are highly appreciated.
@mibrl12 thanks for your PR. I've created tag 0.0.1
for initial version, merged your PR and created tag 0.1.0
from master. Hope it helps.