Fractal Techware

Alert runbooks /

NodeHighCPUUsage

Host CPU usage is above 90%. Free rule (MIT): the complete runbook and rule definition are below.

   
Severity warning
Pending (for:) 30m (warning)
Domain Hosts (node_exporter)
Requires node_exporter 1.x (default collectors; systemd and hwmon noted per alert)
Rule file rules/node-exporter.rules.yml (group ftw.node-exporter.alerts)

Meaning

Average CPU utilisation across all cores (everything except idle) has been above 90% for 30 minutes. The long for: filters out normal bursts.

Impact

Higher latency for everything on the host; the kubelet and system daemons may be starved.

Diagnosis

Mitigation

Escalation

Owned by whoever operates the host (platform team for Kubernetes nodes, service owner for standalone VMs).

Rule definition

From rules/node-exporter.rules.yml in the free repository (MIT). Unit tests for it are in tests/.

- alert: NodeHighCPUUsage
  expr: 100 * (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[5m]))) > 90
  for: 30m
  labels:
    severity: warning
  annotations:
    summary: Host CPU usage is above 90%.
    description: CPU usage on {{ $labels.instance }} has been {{ $value | printf "%.1f" }}% for more than 30m.
    runbook_url: runbooks/node-exporter/NodeHighCPUUsage.md