Skip to main content

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​

InputTypeRequiredDefaultWhat it is
MessageStringYesWhat happened and what a person should do.
SeverityStringNowarningHow serious it is; the alert's title says Critical for critical.
SubjectStringNoWhat the alert is about; the same subject is raised once per run. Every alert is new when empty.

Outputs​

OutputTypeWhat it is
alertsNumberHow many alerts were raised (one per rule that takes them; 0 when this subject was already raised by this run).