1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/haproxy/alerts.yaml
2024-10-25 03:33:09 +00:00

29 lines
1,002 B
YAML

groups:
- name: HAProxyAlerts
rules:
- alert: HAProxyDroppingLogs
annotations:
description: HAProxy {{$labels.job}} on {{$labels.instance}} is dropping logs.
summary: HAProxy is dropping logs.
expr: rate(haproxy_process_dropped_logs_total[5m]) != 0
for: 10m
labels:
severity: critical
- alert: HAProxyBackendCheckFlapping
annotations:
description: HAProxy {{$labels.job}} backend {{$labels.proxy}} on {{$labels.instance}}
has flapping checks.
summary: HAProxy backend checks are flapping.
expr: rate(haproxy_backend_check_up_down_total[5m]) != 0
for: 10m
labels:
severity: critical
- alert: HAProxyServerCheckFlapping
annotations:
description: HAProxy {{$labels.job}} server {{$labels.server}} on {{$labels.instance}}
has flapping checks.
summary: HAProxy server checks are flapping.
expr: rate(haproxy_server_check_up_down_total[5m]) != 0
for: 10m
labels:
severity: critical