Change cpu load alert
Some checks are pending
Run nix flake check / flake-check (push) Waiting to run

This commit is contained in:
Torjus Håkestad 2025-02-11 23:07:56 +01:00
parent fa1635323e
commit 539ff4eeac
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -60,7 +60,7 @@
summary: "Disk space low on {{ $labels.instance }}" summary: "Disk space low on {{ $labels.instance }}"
description: "Disk space is low on {{ $labels.instance }}. Please check." description: "Disk space is low on {{ $labels.instance }}. Please check."
- alert: high_cpu_load - alert: high_cpu_load
expr: node_load1 > 1 expr: max(node_load5{}) by (instance) > (count by (instance)(node_cpu_seconds_total{mode="idle"}) * 0.7)
for: 5m for: 5m
labels: labels:
severity: warning severity: warning