unknown_alert

Diagnostic `nanook::engine::unknown_alert`

Summary

unknown alert `{0}`

Help

the alert expression must match an entry in the loaded rules

Details

When this fires

Runtime, from Engine::silence in crates/nanook-engine/src/engine/mod.rs. The engine scans the loaded rule set for one whose expr matches the string you passed, and bails with this error if nothing lines up. Most often you hit it from nanook ctl silence "<expr>" or the admin API.

What to check

Match must be byte-for-byte: same spaces, same quotes. Run nanook ctl rules (or look at /state) to copy the canonical text. Reloads replace the rule set, so a silence right after editing [[rules]] may target a stale expression.

nanook ctl silence 'cpu.usage > 90' 600