unknown_rule

Diagnostic `nanook::admin::unknown_rule`

Summary

{0}

Help

nanook ctl state lists configured rules; pass the rule name or its expression text

Details

When this fires

Dispatch::fire in nanook-admin/src/dispatch.rs forwarded a POST /rules/{name}/fire request and the engine reported no such rule. Rule identifiers match against the name field first, then the raw expression text; a typo, missing reload, or a rule that lives in a different agent will all reach this branch.

What to check

  • Grab the live names from nanook ctl state (the rules array, name column) and reissue with the exact string (names are case-sensitive):
nanook ctl state
nanook ctl fire hot-cpu
  • If the rule is missing entirely, the agent may still be running an older config. Hot-reload after editing [[alerts]]:
nanook check && nanook ctl reload