Merge pull request #125 from mcanevet/patch-1

Fix HAProxy rules
This commit is contained in:
Samuel Berthe 2020-10-11 18:21:41 +02:00 committed by GitHub
commit ea7e6d6aa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -864,7 +864,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 }}
@ -912,11 +912,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