Raise alert
Raise an alert in Monitor > Alerts. It goes to the people, e-mail addresses and webhook of the alert rules of kind Raised by an agent (for every agent or this one); with no such rule it is only listed there. It stays open until someone acknowledges it. A run raises at most 20 alerts, and the same subject once.
Command in the Jobs and alerts toolkit · id ooa.jobs/raise_alert · 3 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Message | String | Yes | What happened and what a person should do. | |
| Severity | String | No | warning | How serious it is; the alert's title says Critical for critical. |
| Subject | String | No | What the alert is about; the same subject is raised once per run. Every alert is new when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| alerts | Number | How many alerts were raised (one per rule that takes them; 0 when this subject was already raised by this run). |