关于prometheus-webhook-dingtalk的Docker部署,我们可以从以下几个方面进行说明: 1. Prometheus Webhook的功能与用途 Prometheus Webhook是一种机制,允许Prometheus在触发警报时,通过HTTP POST请求将警报信息发送到指定的Webhook URL。这种机制使得Prometheus能够与其他系统或服务进行集成,以便在警报触发时执行相应的操作,例如发送...
步骤1: 获取 Prometheus Webhook DingTalk 代码 解释如何获取 Prometheus Webhook DingTalk 的代码并进入存储库目录。 gitclone https://github.com/timonwong/prometheus-webhook-dingtalk.gitcdprometheus-webhook-dingtalk 1. 2. 步骤2: 配置 Webhook 指导读者如何在config.yml文件中配置 DingTalk 的 Webhook URL,并介...
url: https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx mention: mobiles: ['156xxxx8827', '189xxxx8325'] ~ 5、重启webhook [root@node1 prometheus-webhook-dingtalk]# docker restart webhook 6、查看webhook日志 [root@node1 prometheus-webhook-dingtalk]# docker logs webhook 复制webhook1地...
-receiver: webhook group_wait: 10s receivers: -name: webhook webhook_configs: - url: http://10.1.1.10:8060/dingtalk/webhook1/send send_resolved: true ~ 指向webhook的地址 七、编辑docker-compose启动服务yml vim docker-compose.yml version: '3.2'services: prometheus: image: prom/prometheus restart:...
docker pull prom/alertmanager docker pull timonwong/prometheus-webhook-dingtalk 一、安装node-exporter docker run -d -p 9100:9100 --name node-exporter -v /home/node-exporter/proc:/host/proc:ro -v /home/node-exporter/sys:/host/sys:ro -v /home/node-exporter/:/rootfs:ro prom/node-exporter...
4. 关系图 erDiagram ALERTMANAGER ||--o| DINGTALK_WEBHOOK : 配置发送告警消息 PROMETHEUS ||--o| ALERTMANAGER : 配置告警规则 通过以上步骤,你应该可以成功实现docker prometheus添加监控钉钉通知的功能了。祝你顺利!
docker run--name prometheus-webhook-dingtalk \-p0.0.0.0:8060:8060\-v/etc/prometheus-webhook-dingtalk:/etc/prometheus-webhook-dingtalk \--restart always \-itd timonwong/prometheus-webhook-dingtalk:latest \ 5. 编写alertmanager配置 位置:/etc/alertmanager/alertmanager.yml ...
docker-compose安装详见:Docker Compose实践 一、Prometheus简介 Prometheus是一套开源的系统监控报警框架,提供了监控数据搜集、存储、处理、可视化和告警一套完整的解决方案,该项目于2012年在SoundCloud上创建,拥有非常活跃的开发人员和用户社区,许多公司和组织都采用了Prometheus。作为一个独立的开源项目,Prometheus于2016年正...
Docker You can deploy this tool using the Docker image from following registry: 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...