Skip to content

Incident Condition

Incident conditions define when an entity generates an incident and what incident to generate. Incident conditions can also define when to clear an incident in the clearCondition field.

Incident Condition Model

Field Type Description
id String ID of the incident condition.
state Integer State that the entity will transition into when the condition is triggered.
text String Incident condition description.
condition Object The incident condition value. See Conditions section for more information.
clearCondition Object The condition that clears the incident (sets it to 3) . See Conditions section for more information.

Conditions

Field Type Description
_field Object The incident rule condition.
_field.name String The name of the metric that will be tested.
_field.value Object The metric value, which the current value is compared with, and a comparison operator. See the Value section for more information.

Value

Format of the value field:

"operator": "value"

Supported operators:

Field Description
_ct Contains
_eq Equal to
_gt Greater than
_gte Greater than or equal to
_lt Less than
_lte Less than or equal to
_m Matches with
_nct Not contains
_neq Not equal to