unknown_rule
Diagnostic `nanook::engine::unknown_rule`
Summary
unknown rule `{0}`
Help
supply a rule name (or expression) that appears in the loaded config
Details
When this fires
Runtime, from Engine::fire in crates/nanook-engine/src/engine/mod.rs. The engine resolves the supplied identifier against rule name first, then falls back to matching the raw expr text. With no match on either, it returns this code. You hit it through nanook ctl fire <name> or the admin endpoint /rules/{name}/fire.
What to check
- Run
nanook ctl stateand copy the rule'snamefield verbatim (the canonical text is normalized at load time : an unnamed rule keeps its expression asname). - Recent edits to
[[alerts]]only land afternanook ctl reload; if the agent is still running the previous rule set, your new name does not exist yet.