Skip to content
Snippets Groups Projects
Verified Commit 2bfe4fae authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Mesure load rather than CPU time usage

parent e884f110
No related branches found
No related tags found
Loading
......@@ -43,13 +43,13 @@ groups:
summary: "Presque plus d'inodes disponibles ({{ $value }}% restant) dans {{ $labels.mountpoint }} sur {{ $labels.instance }}."
# Alert for high CPU usage
- alert: CpuUsage
expr: (100 - avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 75
- alert: CpuBusy
expr: node_load5 > 3
for: 10m
labels:
severity: warning
annotations:
summary: "CPU sur {{ $labels.instance }} à {{ $value }}%."
summary: "Charge sur {{ $labels.instance }} à {{ $value }}."
# Check mdadm software RAID
- alert: SoftwareRAIDDegraded
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment