From 075d85b2d6e39ad579fca2cfdb01ebece99845ba Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Tue, 14 Jun 2022 21:36:59 +0200 Subject: [PATCH] fix #236 --- _data/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index b57eb5d..f910544 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -270,7 +270,7 @@ groups: for: 2m - name: Host Network Interface Saturated description: 'The network interface "{{ $labels.device }}" 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 < 10000' # < to 10Gb to prevent +inf when max speed is unknown + query: '(rate(node_network_receive_bytes_total{device!~"^tap.*|^vnet.*|^veth.*|^tun.*"}[1m]) + rate(node_network_transmit_bytes_total{device!~"^tap.*|^vnet.*|^veth.*|^tun.*"}[1m])) / node_network_speed_bytes{device!~"^tap.*|^vnet.*|^veth.*|^tun.*"} > 0.8 < 10000' # < to 10Gb to prevent +inf when max speed is unknown severity: warning for: 1m - name: Host Network Bond Degraded