Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Alert Rules

Alert Rules are used to configure alerts.

Each rule consists of a FILTER and an ACTION.

When a network event matches the FILTER, the ACTION is executed.

Syntax Overview

  • Alert Rules follow the format: FILTER = ACTION
FILTER:
   [wait {N}m|{N}h]
   [time {time filter}]
   {type} {device regex} {child regex} {attr regex}
   [value {text|/regex/}]
   [descr {/regex/}]
   [any|all|not group {group name} ...]
    = {ACTION}

ACTION:
   email * | {profile name} | {email address} [...]
   mute    [ {profile name} | {email address} [...] ]
   stop
   call {function}

Note

Status Alerting only reacts to generated network events.
It won’t send an alert if a device is already in a state that may match an Alert Rule.