1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-06 05:16:05 +02:00

prometheus: disable HostUnusualNetworkThroughputOut

This alert only triggers for america.mirror.pkgbuild.com. Ideally, we
should be able to increase the trigger point for high-bandwidth boxes.
I don't see a straightforward way to implement it, so disable for now.
This commit is contained in:
Evangelos Foutras 2023-01-23 20:38:19 +02:00
parent deed8de29c
commit 268b6003e4
No known key found for this signature in database
GPG Key ID: 51E8B148A9999C34

View File

@ -47,14 +47,15 @@ groups:
summary: "Host unusual network throughput in (instance {{ $labels.instance }})"
description: "Host network interfaces are probably receiving too much data (> 100 MB/s)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostUnusualNetworkThroughputOut
expr: sum by (instance) (irate(node_network_transmit_bytes_total[2m])) / 1024 / 1024 > 100
for: 5m
labels:
severity: warning
annotations:
summary: "Host unusual network throughput out (instance {{ $labels.instance }})"
description: "Host network interfaces are probably sending too much data (> 100 MB/s)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
### Disabled due to only (incorrectly) triggering for america.mirror.pkgbuild.com
# - alert: HostUnusualNetworkThroughputOut
# expr: sum by (instance) (irate(node_network_transmit_bytes_total[2m])) / 1024 / 1024 > 100
# for: 5m
# labels:
# severity: warning
# annotations:
# summary: "Host unusual network throughput out (instance {{ $labels.instance }})"
# description: "Host network interfaces are probably sending too much data (> 100 MB/s)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostOutOfDiskSpace
expr: (node_filesystem_avail_bytes{fstype!="tmpfs",mountpoint!~"/backup.*"} * 100) / node_filesystem_size_bytes < 10