diff --git a/coreos-config/roles/compose_project/templates/prometheus/rules/node.yaml b/coreos-config/roles/compose_project/templates/prometheus/rules/node.yaml index 2df76fc..5066531 100644 --- a/coreos-config/roles/compose_project/templates/prometheus/rules/node.yaml +++ b/coreos-config/roles/compose_project/templates/prometheus/rules/node.yaml @@ -108,8 +108,8 @@ groups: summary: Host unusual disk write latency (instance {{ $labels.instance }}) description: "Disk latency is growing (write operations > 100ms)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - alert: HostHighCpuLoad - expr: 'sum by (instance) (avg by (mode, instance) (rate(node_cpu_seconds_total{mode!="idle"}[2m]))) > 0.8' - for: 0m + expr: '(100 - (avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[2m])) * 100)) > 80' + for: 2m labels: severity: warning annotations: