Add cpu steal alert

This commit is contained in:
Carl Düvel 2020-12-21 19:06:45 +01:00 committed by GitHub
parent b4bcdaf8f2
commit a7c5155002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,10 @@ groups:
description: CPU load is > 80%
query: '100 - (avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 80'
severity: warning
- name: CPU steal
description: CPU steal is > 10%
query: 'avg by(instance) (rate(node_cpu_seconds_total{mode="steal"}[5m])) * 100 > 10'
severity: warning
- name: Host context switching
description: Context switching is growing on node (> 1000 / s)
query: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'