Skip to content

Alert rules ​

Alert rules decide which events at an orchestrator become alerts, how serious they are, who owns them and where notifications go. You manage rules at each orchestrator, under Alerts > Rules.

Rules belong to one orchestrator: "Scope is always this orchestrator. Upgrade thresholds and rollback are configured in upgrade jobs." Cloud has no rule editor. In Cloud, Settings > Notifications points you to the orchestrators (see Settings).

Who can manage rules ​

RoleWhat you can do
Organization Admin, Network AdminCreate, edit, duplicate, activate, disable and delete rules
AuditorView rules and open them read-only
Change Approver, Integration AdminNo access to the Alerts view at an orchestrator

A read-only viewer sees "Your role can view rules but not change them." in the list, and in the rule editor "Your role can view this rule but not change it. Ask an orchestrator administrator for operator access."

The rules list ​

  1. At the orchestrator, open Alerts in the sidebar.
  2. Select the Rules tab.

The Rules tab at an orchestrator listing the starter rules

ColumnContent
Rule nameThe name you gave the rule. Select it to open the rule
TriggerThe event the rule watches, for example Upgrade job failed
ConditionsWhen the rule opens an alert, for example "At least 1 within 60 min", and "1 condition" or "2 conditions" when it has any
SeverityCritical, High, Medium, Low or Info
Default ownerA team name or Unassigned
NotificationsIn-app, plus Email or Signed webhook when chosen
StatusActive, Disabled or Draft
Last triggeredWhen the rule last opened or updated an alert, or Never. Select the time to see the rule's alerts in every status
Actions (...)Edit, Duplicate, Activate or Disable, Delete

Use Search rules (name or trigger), Status (All statuses, Active, Disabled, Draft), Trigger (All triggers or one trigger) and the sort menu (Sort: newest, Sort: name, Sort: last triggered, Sort: severity, Sort: status). Clear all removes the filters. When the list is long, select Load more rules.

Rule statuses ​

StatusMeaning
ActiveEvaluates every new matching event and opens or updates alerts
DisabledOpens no alerts. Alerts it already opened stay until they are resolved
DraftSaved but never evaluated

The starter rules ​

Every orchestrator starts with seven active rules. They notify in the app only.

RuleSeverityImpact
Upgrade job failedHighBlocking
Device upgrade failedHighBlocking
Upgrade auto-stoppedHighBlocking
Rollout stopped: package not usableHighBlocking
Rollback failedCriticalBlocking
Pre-check failed or blockedMediumDegraded
Inventory sync failedMediumDegraded

They are ordinary rules: edit, disable or delete them as you need. A deleted starter rule does not come back.

Create a rule ​

Select Create rule. The editor Create alert rule opens with five steps: Trigger, Scope & conditions, Triage behavior, Notifications and Review & test. Use Next and Back to move between steps. Cancel leaves without saving.

When a step is missing something, Next is unavailable and the bar says what to do, for example "Choose a trigger to continue." A step with a problem is marked in the step list. When you create a rule, you cannot jump past a step that is not complete. When you edit a rule, you can open any step.

You can also start a rule from an alert: open the alert, then More actions > Create rule from alert. The editor starts with the alert's trigger, severity and impact, and the name "<trigger> follow-up".

Step 1: Trigger ​

Under Choose a trigger, select one trigger. Each card shows the trigger's name, a description and its source. The triggers are listed in Alerts.

Then set Trigger behavior:

FieldValuesMeaning
Minimum occurrences (required)Whole number 1 to 100. Default 1"Matching events for the same issue before an alert opens."
Correlation window in minutes (required)Whole number 1 to 1440. Default 60"Occurrences count toward the minimum only within this window."
Correlation keyShown, not editableWhat one alert is kept per, for example Upgrade job, Device or Integration
When a resolved issue returnsReopen the resolved alert (default) or Open a new alertWhat happens when the same issue comes back after its alert was resolved

A line under the fields sums it up: "Creates or updates one alert per upgrade job when Upgrade job failed."

TIP

Repeated matching events for the same issue update one open alert. Upgrade auto-stop thresholds are set in the upgrade job wizard, not here. See Scheduling and launching.

Step 2: Scope & conditions ​

A rule always covers "All matching events at this orchestrator". You can narrow it with Additional conditions: "Match when all of the following conditions are true."

  1. Select Add condition.
  2. Choose a Field (required): Failed devices or Impacted devices, as the trigger provides.
  3. Choose an Operator (required): is at least, is at most or equals.
  4. Enter a Value (required): a whole number from 0 to 10000000.

A rule can have at most 5 conditions. Remove one with its remove button. Two identical conditions are refused: "This repeats a condition above. Change its field or operator, or remove it."

Triggers without counts say "This trigger has no numeric fields to condition on. It matches every event of its type." With no conditions, every matching event counts.

TriggerCondition fields
Upgrade job failedFailed devices
Upgrade auto-stoppedFailed devices, Impacted devices
All other triggersNone

Scope decides which events may create alerts. It never controls upgrade execution or rollout order.

Step 3: Triage behavior ​

Under Classify and assign:

FieldValues
Severity (required)Critical, High, Medium, Low, Info. "Severity describes operational risk."
Impact (required)Blocking, Degraded, Advisory. "Impact describes the effect on upgrade execution or service."
Default statusAlways Open. "New alerts always open as Open; status tracks the triage lifecycle."
Default ownershipUnassigned or Team. For a team, enter the Team name (required)

An alert keeps the severity, impact and owner it opened with. A change here applies to the alerts this rule opens after you save it.

Step 4: Notifications ​

Under Choose when and where notifications go:

  1. Under Notify when, choose one or more of: The alert opens (selected by default), The alert reopens, The alert is resolved.
  2. Under External channels, select Email and/or Signed webhook if you want more than the in-app notification. "In-app notification is always sent."

Each channel shows its state at this orchestrator:

StateMeaning
ReadyThe channel is set up and can deliver
Not configuredThe channel is not set up. You cannot select it
BlockedThe channel cannot deliver. You cannot select it
Status unavailableThe state could not be read

A channel that is not ready cannot be newly selected. A channel already selected in a saved rule stays selected and shows "This channel is not ready. Deliveries will fail until the orchestrator configuration is fixed." You can clear it.

INFO

"Destinations, recipients and signing keys live in the orchestrator's protected server configuration. This rule only selects channels." Email recipients and webhook addresses are not set in the UI; ask the person who operates the orchestrator.

A line at the end sums up the choice, for example "When the alert opens, notify in-app and by signed webhook." or "Only in-app notifications are sent."

Assigning an alert does not change who is notified.

Step 5: Review & test ​

  1. Under Rule identity, enter the Rule name (required), at most 120 characters, and if you like a Description (optional), at most 500 characters. Rule names must be unique at the orchestrator.
  2. Check the summaries of Trigger, Scope, Triage and Notifications. Use Edit on a summary to go back to that step.
  3. Under Test rule, select Run test.

The test is a dry run "against this orchestrator's audit events of the last 24 hours and the older events its unresolved alerts still rest on. Nothing is written." It shows:

ResultMeaning
Events of this typeEvents of this trigger that still hold
Match the conditionsHow many of them pass your conditions
Alerts that would openHow many alerts the rule would open now
Most recent eventTime, Subject, Upgrade job and View this event in the audit log
Each conditionPassed or Did not pass, with the actual value

When there is nothing to test against: "No event of this type still holds, in the last 24 hours or behind an unresolved alert, so there was nothing to match. The rule will still evaluate new events." Once active, the rule opens alerts only for events after its activation.

  1. Save the rule:
    • Save as draft saves it without evaluating anything. The message reads "Rule ... saved as a draft."
    • Save & activate asks Activate this alert rule?, lists the scope and notifications, and saves on Activate rule. Select Keep editing to go back. The message reads "Rule ... saved and active."

"Active rules evaluate every new matching event at this orchestrator. Events recorded before activation are not evaluated."

The Review & test step of the rule editor with the test results

Edit a rule ​

  1. In the rules list, open the rule's ... menu and select Edit.
  2. Change what you need in any step.
  3. On Review & test, save:
    • An active or disabled rule has Save changes. Its status does not change.
    • A draft has Save as draft and Save & activate.

The message reads "Rule ... updated." Alerts already open keep their severity, impact and owner.

Duplicate a rule ​

Open the rule's ... menu and select Duplicate. A draft copy named "<name> (copy)" is created: "Created draft rule ...". Edit and activate it when ready.

Activate or disable a rule ​

  1. Open the rule's ... menu and select Activate (for a draft or disabled rule) or Disable (for an active rule).
  2. Confirm:
    • Activate this rule? "... starts opening alerts for new matching events. Events recorded before now are not evaluated." Select Activate rule.
    • Disable this rule? "... stops opening alerts. Alerts it already opened stay until they are resolved." Select Disable rule.

Select Keep rule to cancel. The message reads "Rule ... is now Active." or "... is now Disabled."

Delete a rule ​

You can delete a rule only when it is not active and has no open alerts.

  1. If the rule is active, disable it first. The menu says "Disable the rule before deleting it."
  2. If the rule still has open alerts, resolve them. The menu says "Resolve this rule's open alerts, then delete it."
  3. Open the rule's ... menu and select Delete.
  4. In Delete this rule?, select Delete rule.

"... is removed from this list. Alerts it opened in the past keep its name, and the audit log records the deletion. This cannot be undone."

Errors when saving ​

MessageWhat to do
"The rule could not be saved. Check the highlighted steps and retry."Open the steps marked in the step list and fix the fields
"An alert rule with this name already exists."Choose another name
"The orchestrator did not accept the rule name. Change the name and try again."Change the name
"The orchestrator did not accept the description. Change the description and try again."Change the description
"The orchestrator did not accept this rule. Review each step, change what is wrong and try again."Check every step
"Someone else changed this rule. Reload it from the rules list and apply your changes again."Go back to the list, open the rule again and redo your change
Alert rule deleted: "Someone else deleted this rule while you were editing it, so your changes could not be saved."Select Back to rules
Alert rule not foundThe link names a rule that does not exist. Select Back to rules
The rule could not be loadedCheck the orchestrator connection, then Retry

All rule changes are recorded in the audit log (family Alerts), with what changed.

If something goes wrong ​

See Troubleshooting: Alerts and audit for rules that do not raise alerts, failed tests and notifications that do not arrive.