- 是指监控每个服务启动的端口,根据端口来判断服务存活。
- lucky可以指定每个应用的负责人 报警规则
[root@10 prometheus]# vim first_rules.yml groups: - name: port rules: - alert: 应用进程监控 # 告警名称 expr: probe_success == 0 # 告警的判定条件,参考Prometheus高级查询来设定 for: 1s # 满足告警条件持续时间多久后,才会发送告警 labels: #标签项 status: 严重 annotations: # 解析项,详细解释告警信息 summary: "group:{{$labels.instance}} High Node port has been down " description: "group:{{$labels.instance}} 服务已停止使用 "
钉钉报警示例
- 我的QQ
- QQ扫一扫
-
- 我的头条
- 头条扫一扫
-
评论