Hello everybody!
I ran into a problem when connecting sending alerts via Alert manager to webhook zoom.
Token and endpoint url received in the chat. The Curl request goes fine.
There was a problem when adding Alert manager to the configuration.
Part of the configuration is given below.
- name: "zoom"
webhook_configs:
- url: 'url'
send_resolved: true
http_config:
authorization:
credentials: 'token'
amtool check-config passes without errors. An error is generated when connecting to Alert manager.
msg="Notify for alerts failed" num_alerts=2 err="zoom/webhook[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 400: url: Invalid request body format."
Can you tell me what this could be related to? Maybe I need to specify a special type in authorization?
Also, please tell me how I can add an incoming webhook (a bot that sends notifications) to the channel.