Update rules.yml

This commit is contained in:
Samuel Berthe 2020-10-11 19:39:17 +02:00 committed by GitHub
parent 5050fd64d5
commit 06205cd91c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,9 +223,9 @@ groups:
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last five minutes.'
query: 'increase(node_network_transmit_errs_total[5m]) > 0'
severity: warning
- name: Host Network Not 1Gb Speed
description: 'The network interface "{{ $labels.interface }}" on "{{ $labels.instance }}" is not connected at 1Gb.'
query: 'node_network_speed_bytes != 125000000'
- name: Host Network Interface Saturated
description: 'The network interface "{{ $labels.interface }}" on "{{ $labels.instance }}" is getting overloaded.'
query: '(rate(node_network_receive_bytes_total{device!~"^tap.*"}[1m]) + rate(node_network_transmit_bytes_total{device!~"^tap.*"}[1m])) / node_network_speed_bytes{device!~"^tap.*"} > 0.8'
severity: warning
- name: Docker containers