timonwong / prometheus-webhook-dingtalk

DingTalk integration for Prometheus Alertmanager
http://theo.im/blog/2017/10/16/release-prometheus-alertmanager-webhook-for-dingtalk/
Apache License 2.0
911 stars 311 forks source link

msg="Failed to send notification to DingTalk" respCode=300005 respMsg="token is not exist" #226

Open zhaoxvip opened 1 month ago

zhaoxvip commented 1 month ago

ts=2024-10-25T07:50:19.305Z caller=dingtalk.go:103 level=error component=web target=k8s msg="Failed to send notification to DingTalk" respCode=300005 respMsg="token is not exist" ts=2024-10-25T07:50:19.305Z caller=entry.go:26 level=info component=web http_scheme=http http_proto=HTTP/1.1 http_method=POST remote_addr=10.199.253.12:39655 user_agent=Alertmanager/0.27.0 uri=http://dingtalk:8060/dingtalk/k8s/send resp_status=400 resp_bytes_length=27 resp_elapsed_ms=170.197576 msg="request complete"

config.yml

templates:

timonwong commented 1 month ago

如果是外部群会报 300005

zhaoxvip commented 1 month ago

如果是外部群会报 300005

是一个内部群,同一个webhook,其它的告警采集能正常的通知,使用 prometheus-webhook-dingtalk 容器的日志每5分钟一次出现上述报错