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 state and copy the rule's name field verbatim (the canonical text is normalized at load time : an unnamed rule keeps its expression as name).
  • Recent edits to [[alerts]] only land after nanook ctl reload; if the agent is still running the previous rule set, your new name does not exist yet.
nanook ctl state
nanook ctl fire hot-cpu