PrometheusAlert icon indicating copy to clipboard operation
PrometheusAlert copied to clipboard

钉钉加签功能不生效

Open xavi713 opened this issue 2 years ago • 3 comments

配置文件已开启钉钉加签,钉钉机器人地址解析加签参数 secret 为空,将使用不加签的地址! image 配置如下 ddurl=https://oapi.dingtalk.com/robot/send?access_token=xxxx&secret=SECxxx #是否开启加签 open-dingding-secret=1

xavi713 avatar Dec 07 '23 10:12 xavi713

这部分代码中加个 print 本地输出调试看下内容是什么,为什么判断 secret 为空?

image

Zhang21 avatar Dec 08 '23 03:12 Zhang21

👍,thanks a lot!

On Tue, Dec 26, 2023 at 11:34 AM Leslie Zhang @.***> wrote:

参考这个 issue: #363 https://github.com/feiyu563/PrometheusAlert/issues/363

— Reply to this email directly, view it on GitHub https://github.com/feiyu563/PrometheusAlert/issues/360#issuecomment-1869227446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSEODG27NI4KJP2BY2Q65LYLJATFAVCNFSM6AAAAABAKZ7VRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGIZDONBUGY . You are receiving this because you authored the thread.Message ID: @.***>

xavi713 avatar Dec 26 '23 03:12 xavi713