Fix HAProxy rules

This commit is contained in:
Mickaël Canévet 2020-05-29 10:11:54 +02:00 committed by GitHub
parent 4cd3ff1d4a
commit 24f7095cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -822,7 +822,7 @@ groups:
rules: rules:
- name: HAProxy down - name: HAProxy down
description: HAProxy down description: HAProxy down
query: 'haproxy_up = 0' query: 'haproxy_up == 0'
severity: critical severity: critical
- name: HAProxy high HTTP 4xx error rate backend - name: HAProxy high HTTP 4xx error rate backend
description: Too many HTTP requests with status 4xx (> 5%) on backend {{ $labels.fqdn }}/{{ $labels.backend }} description: Too many HTTP requests with status 4xx (> 5%) on backend {{ $labels.fqdn }}/{{ $labels.backend }}
@ -870,11 +870,11 @@ groups:
severity: warning severity: warning
- name: HAProxy backend down - name: HAProxy backend down
description: HAProxy backend is down description: HAProxy backend is down
query: 'haproxy_backend_up = 0' query: 'haproxy_backend_up == 0'
severity: critical severity: critical
- name: HAProxy server down - name: HAProxy server down
description: HAProxy server is down description: HAProxy server is down
query: 'haproxy_server_up = 0' query: 'haproxy_server_up == 0'
severity: critical severity: critical
- name: HAProxy frontend security blocked requests - name: HAProxy frontend security blocked requests
description: HAProxy is blocking requests for security reason description: HAProxy is blocking requests for security reason