mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
prevent +inf max value
This commit is contained in:
parent
b9222993ac
commit
a225087b06
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,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'
|
||||
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 conntrack limit
|
||||
|
|
|
|||
Loading…
Reference in a new issue