alarm: cpu_runaway
on: system_monitor.cpu_runaway
lookup: average -5m unaligned of nonbuild_busy_pct
calc: $this
warn: $this > 90
delay: down 5m multiplier 1.5 max 30m
hysteresis: 10%
exec: /usr/local/bin/agentctl alarm --name cpu_runaway --status WARNING --value "$this"
to: system-monitor
