You can use LogicMonitor’s REST API to programmatically manage your alert rules.
Notes:
- This documentation describes the published resource state for v87 and later
- As with all of our API calls, authentication is required.
Resource Properties
All alert rules have the following properties:
Property
|
Description
|
Type
|
id |
The Id of the alert rule |
Integer |
name |
The name of the alert rule |
String |
priority |
The priority associated with the alert rule |
Integer |
levelStr |
The alert severity levels the alert rule is configured to match. Possible values are All | Warn | Error | Critical |
String |
devices |
The device names and service names the alert rule is configured to match |
JSON Array |
deviceGroups |
The device groups and service groups the alert rule is configured to match |
JSON Array |
datasource |
The datasource the alert rule is configured to match |
String |
instance |
The instance the alert rule is configured to match |
String |
datapoint |
The datapoint the alert rule is configured to match |
String |
escalationInterval |
The escalation interval associated with the alert rule, in minutes |
Integer |
escalatingChainId |
The id of the escalation chain associated with the alert rule |
Integer |
escalatingChain |
The escalation chain associated with the alert rule |
JSON Object |
suppressAlertClear |
Whether or not alert clear notifications should be sent to the alert rule |
Boolean |
suppressAlertAckSdt |
Whether or not status notifications for acknowledgements and SDTs should be sent to the alert rule |
Boolean |