mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Fix HAProxy rules
This commit is contained in:
parent
4cd3ff1d4a
commit
24f7095cd5
1 changed files with 3 additions and 3 deletions
|
|
@ -822,7 +822,7 @@ groups:
|
|||
rules:
|
||||
- name: HAProxy down
|
||||
description: HAProxy down
|
||||
query: 'haproxy_up = 0'
|
||||
query: 'haproxy_up == 0'
|
||||
severity: critical
|
||||
- name: HAProxy high HTTP 4xx error rate backend
|
||||
description: Too many HTTP requests with status 4xx (> 5%) on backend {{ $labels.fqdn }}/{{ $labels.backend }}
|
||||
|
|
@ -870,11 +870,11 @@ groups:
|
|||
severity: warning
|
||||
- name: HAProxy backend down
|
||||
description: HAProxy backend is down
|
||||
query: 'haproxy_backend_up = 0'
|
||||
query: 'haproxy_backend_up == 0'
|
||||
severity: critical
|
||||
- name: HAProxy server down
|
||||
description: HAProxy server is down
|
||||
query: 'haproxy_server_up = 0'
|
||||
query: 'haproxy_server_up == 0'
|
||||
severity: critical
|
||||
- name: HAProxy frontend security blocked requests
|
||||
description: HAProxy is blocking requests for security reason
|
||||
|
|
|
|||
Loading…
Reference in a new issue