Creating an alert

Create new alerts on devices or services, at an item or group level.

Comparisons

ComparisonExplanation
ltless than
gtgreater than
lteless than or equal to
gtegreater than or equal to
eqequal to
neqnot equal to
ccontains
ncdoes not contain
rematches regex
nredoes not match regex
exdoes exist
nexdoes not exist

Parameters: Recipients

ParametersRequiredTypeDescription
typeYesstringThe type of recipient: user, pagerduty or webhook
idYesstringThe ID of the recipient e.g. user ID or webhook ID
actionsdependsstringThe notification types to send, not required for pagerduty, webhook, slack or hipchat types

You can list all of your recipients with the List Recipients endpoint. You can also Create Recipients too. If you're using a webhook recipient you might want to familiarise yourself with the webhook payload format

Parameters: Wait

ParametersRequiredTypeDescription
secondsYesstringThe number of seconds to wait.
enabledYesstringWhether the wait configuration is enabled or not
displayUnitsYesstringHint for the UI, always s (may change in future releases)

Parameters: Repeat

ParametersRequiredTypeDescription
secondsYesstringThe number of seconds to wait.
enabledYesstringWhether the wait configuration is enabled or not
displayUnitsYesstringHint for the UI, always s (may change in future releases)
Language
Credentials
Query