Add HostNetworkBondDegraded

This commit is contained in:
Lauri Võsandi 2021-11-25 08:53:31 +02:00
parent 3ff969670d
commit 0349f8ea1c

View file

@ -265,6 +265,11 @@ groups:
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 < 10000' # < to 10Gb to prevent +inf when max speed is unknown
severity: warning
for: 1m
- name: Host Network Bond Degraded
description: 'Bond "{{ $labels.device }}" degraded on "{{ $labels.instance }}".'
query: '(node_bonding_active - node_bonding_slaves) != 0'
severity: warning
for: 2m
- name: Host conntrack limit
description: 'The number of conntrack is approaching limit'
query: 'node_nf_conntrack_entries / node_nf_conntrack_entries_limit > 0.8'