2、添加钉钉报警模板(一) vim /etc/prometheus-webhook-dingtalk/template.tmpl {{ define "__subject" }}[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] {{ .GroupLabels.SortedPairs.Values | join " " }} {{ if gt (len .CommonLabels) ...
2.4 Webhook-dingtalk安装启动1、安装webhook-dingtalk插件 下载地址: wget https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v2.1.0/prometheus-webhook-dingtalk-2.1.0.linux-amd64.tar.gz tar zxf prometheus-webhook-dingtalk-2.1.0.linux-amd64.tar.gz mv prometheus-webhook-dingtalk-...
https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v1.4.0/prometheus-webhook-dingtalk-1.4.0.linux-amd64.tar.gz # 下载并安装 wgethttps://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v0.3.0/prometheus-webhook-dingtalk-0.3.0.linux-amd64.tar.gztar -zxf ...
一、获取钉钉webhook 打开钉钉——>机器人管理——>自定义——>添加——>复制webhook地址 二、下载prometheus-webhook-dingtalk插件(8060) # wget https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v1.4.0/prometheus-webhook-dingtalk-1.4.0.linux-amd64.tar.gz # ./prometheus-webhook-...
prometheus-webhook-dingtalk-2.1.0.linux-armv7.tar.gz 8.32 MB2022-04-21T08:20:30Z prometheus-webhook-dingtalk-2.1.0.windows-386.tar.gz 8.84 MB2022-04-21T08:20:31Z prometheus-webhook-dingtalk-2.1.0.windows-386.zip 8.95 MB2022-04-21T08:20:32Z ...
钉钉告警可以是⽤Prometheus-webhook-dingtalk⼯具,github地址 https://github.com/timonwong/prometheus-webhook-dingtalk 。 Prometheus-->AlertManager-->⾃定义Webhook程序-->钉钉机器⼈-->通知给对应的群组 2 webhook_dingding 2.1 下载并运⾏webhook_dingding ...
# 1.下载 wget https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v2.0.0/prometheus-webhook-dingtalk-2.0.0.linux-amd64.tar.gz # 2.解压 tar xvpf prometheus-webhook-dingtalk-2.0.0.linux-amd64.tar.gz mv prometheus-webhook-dingtalk-2.0.0.linux-amd64 /usr/local/ ...
下载地址:https://github.com/prometheus/alertmanager/releases/download/v0.23.0/alertmanager-0.23.0.linux-amd64.tar.gz 3.prometheus-webhook-dingtalk :1.4 下载地址:https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v1.4.0/prometheus-webhook-dingtalk-1.4.0.linux-amd64.tar...
DockerHub:timonwong/prometheus-webhook-dingtalk Compiling the binary Clone the repository and build manually: make build Usage usage: prometheus-webhook-dingtalk [<flags>] Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). ...
「部署prometheus-webhook-dingtalk:」这里通过内部钉钉webhook作为告警媒介,当然Alertmanager原生支持邮箱告警。新建目录和ln超链接current,如下所示:# 安装prometheus-webhook-dingtalkwget https://github.com/timonwong/prometheus-webhook-dingtalk/releases/download/v2.1.0/prometheus-webhook-dingtalk-2.1.0.linux-...