exclude nice and steal from cpu usage alarms; fixes #1833
Costa Tsaousis (ktsaou) committed
Feb 27, 2017 at 20:31 UTC
5c97cd4ee7b405f8c64708955e16f754627e9239
1 file changed
+2
-2
conf.d/health.d/cpu.conf
+2
-2
@@ -1,13 +1,13 @@
1
2
template: 10min_cpu_usage
3
on: system.cpu
4
- lookup: average -10m unaligned of user,system,nice,softirq,irq,guest,guest_nice
4
+ lookup: average -10m unaligned of user,system,softirq,irq,guest
5
units: %
6
every: 1m
7
warn: $this > (($status >= $WARNING) ? (75) : (85))
8
crit: $this > (($status == $CRITICAL) ? (85) : (95))
9
delay: down 15m multiplier 1.5 max 1h
10
- info: average cpu utilization for the last 10 minutes
10
+ info: average cpu utilization for the last 10 minutes (excluding iowait, nice and steal)
11
to: sysadmin
12
13
template: 10min_cpu_iowait