Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Trigger

Bhinav Sura edited this page Mar 25, 2016 · 8 revisions

Trigger

The Trigger object encapsulates information about alert conditions for which to send notification.

Name Type Description
id bigint The unique ID of the trigger object.
createdById bigint The unique ID of the principal who created the trigger.
createdDate long The epoch timestamp at which the trigger was created.
modifiedById bigint The unique ID of the principal who last modified the trigger.
modifiedDate long The epoch timestamp at which the trigger was last modified.
type string The trigger comparison operator. One of GREATER_THAN, GREATER_THAN_OR_EQ, LESS_THAN, LESS_THAN_OR_EQ, EQUAL, NOT_EQUAL, BETWEEN or NOT_BETWEEN.
name string The name of the trigger
threshold double The primary threshold operand for the comparison.
secondaryThreshold double The secondary threshold operand for the BETWEEN and NOT_BETWEEN operators.
inertia long The number of milliseconds for which the condition must be satisfied before the trigger is fired.
alertId bigint The unique ID of the alert with which the trigger is associated.
notificationIds bigint[] The set of unique IDs of notifications with which the trigger is associated.

Example Trigger Entity:

{
  "id": 297689,
  "createdById": 100301,
  "createdDate": 1446163333290,
  "modifiedById": 100301,
  "modifiedDate": 1446163333291,
  "type": "LESS_THAN",
  "name": "ULIAGENT:SR1.CHI Health (trigger)",
  "threshold": 1,
  "secondaryThreshold": -1,
  "inertia": 600000,
  "alertId": 297197,
  "notificationIds": [
    297690
  ]
}
Clone this wiki locally