-
是我哪里填错了嘛?返回状态码是404 level=info ts=2021-07-22T15:10:56.763Z caller=entry.go:22 component=web http_scheme=http http_proto=HTTP/1.1 http_method=POST remote_addr=172.20.0.6:46304 user_agent=Alertmanager/0.22.2 uri=http://webhook-dingtalk:8060/dingtalk/ops/send resp_status=404 resp_bytes_length=19 resp_elapsed_ms=0.108411 msg="request complete" 配置: alertmanager.yaml
receivers:
- name: 'dingding-webhook'
webhook_configs:
- url: 'http://webhook-dingtalk:8060/dingtalk/ops/send' |
Beta Was this translation helpful? Give feedback.
Answered by
majingpu
Jul 23, 2021
Replies: 1 comment
-
找到原因了:这里的uri:/dingtalk/ops/send 要对应上面的receivers name webhook_configs:
- url: 'http://webhook-dingtalk:8060/dingtalk/ops/send' 修改后的结果: webhook_configs:
- url: 'http://webhook-dingtalk:8060/dingtalk/dingding-webhook/send' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timonwong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
找到原因了:这里的uri:/dingtalk/ops/send 要对应上面的receivers name
修改后的结果: