config_unknown_action
Diagnostic `nanook::config::unknown_action`
Summary
unknown action `{0}`
Help
supported actions: log, webhook, discord, slack, exec
Details
When this fires
A rule's action field in nanook.toml parsed to something the Action enum (in crates/nanook-core/src/config/rule.rs) doesn't know about. The supported variants are log, webhook, discord, slack, exec. This usually surfaces during nanook check or nanook run when [[alerts]] entries get deserialized, or when an escalate target is mistyped.
What to check
action is one of log, webhook, discord, slack, exec, lowercase, no aliases. Check both the rule's action and any nested escalate.action. For a different transport, define a [channels.<name>] and reference it via the rule's channel field instead.
[[]]
= "cpu > 90"
= "webhook"
= "https://hooks.example.com/cpu"