mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 19:07:08 +08:00
Remove on() expression from network throughput alerts as labels fully match
This commit is contained in:
parent
fbe1e4d444
commit
58e27346c3
2 changed files with 4 additions and 4 deletions
|
|
@ -152,11 +152,11 @@ groups:
|
|||
You may want to increase the alert manager 'repeat_interval' for this type of alert to daily or weekly
|
||||
- name: Host unusual network throughput in
|
||||
description: Host receive bandwidth is high (>80%).
|
||||
query: "((rate(node_network_receive_bytes_total[5m]) / on(instance, device) node_network_speed_bytes) > .80)"
|
||||
query: "((rate(node_network_receive_bytes_total[5m]) / node_network_speed_bytes) > .80)"
|
||||
severity: warning
|
||||
- name: Host unusual network throughput out
|
||||
description: Host transmit bandwidth is high (>80%)
|
||||
query: "((rate(node_network_transmit_bytes_total[5m]) / on(instance, device) node_network_speed_bytes) > .80)"
|
||||
query: "((rate(node_network_transmit_bytes_total[5m]) / node_network_speed_bytes) > .80)"
|
||||
severity: warning
|
||||
- name: Host unusual disk read rate
|
||||
description: Disk is too busy (IO wait > 80%)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ groups:
|
|||
description: "Node memory usage is < 20% for 1 week. Consider reducing memory space. (instance {{ $labels.instance }})\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: HostUnusualNetworkThroughputIn
|
||||
expr: '((rate(node_network_receive_bytes_total[5m]) / on(instance, device) node_network_speed_bytes) > .80)'
|
||||
expr: '((rate(node_network_receive_bytes_total[5m]) / node_network_speed_bytes) > .80)'
|
||||
for: 0m
|
||||
labels:
|
||||
severity: warning
|
||||
|
|
@ -43,7 +43,7 @@ groups:
|
|||
description: "Host receive bandwidth is high (>80%).\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: HostUnusualNetworkThroughputOut
|
||||
expr: '((rate(node_network_transmit_bytes_total[5m]) / on(instance, device) node_network_speed_bytes) > .80)'
|
||||
expr: '((rate(node_network_transmit_bytes_total[5m]) / node_network_speed_bytes) > .80)'
|
||||
for: 0m
|
||||
labels:
|
||||
severity: warning
|
||||
|
|
|
|||
Loading…
Reference in a new issue