Skip to content

Instantly share code, notes, and snippets.

@moolitayer
Created December 19, 2016 17:49
Show Gist options
  • Save moolitayer/f093dadf4fd4b7402b851b3200763a7a to your computer and use it in GitHub Desktop.
Save moolitayer/f093dadf4fd4b7402b851b3200763a7a to your computer and use it in GitHub Desktop.
[
{
"eventType": "ALERT",
"tenantId": "_system",
"id": "auto-resolving-trigger-1482169701624-7fafcc1e-c7e6-4b2c-ba98-8fe43829833b",
"ctime": 1482169701624,
"dataSource": "_none_",
"dataId": "auto-resolving-trigger",
"category": "ALERT",
"text": "Auto resolving trigger example",
"trigger": {
"tenantId": "_system",
"id": "auto-resolving-trigger",
"name": "Auto Resolving trigger ",
"description": "Auto resolving trigger example",
"type": "STANDARD",
"eventType": "ALERT",
"eventCategory": null,
"eventText": null,
"severity": "HIGH",
"autoDisable": false,
"autoEnable": false,
"autoResolve": true,
"autoResolveAlerts": true,
"autoResolveMatch": "ALL",
"enabled": true,
"firingMatch": "ALL",
"source": "_none_"
},
"dampening": {
"tenantId": "_system",
"triggerId": "auto-resolving-trigger",
"triggerMode": "FIRING",
"type": "STRICT",
"evalTrueSetting": 1,
"evalTotalSetting": 1,
"evalTimeSetting": 0,
"dampeningId": "_system-auto-resolving-trigger-FIRING"
},
"evalSets": [
[
{
"evalTimestamp": 1482169701605,
"dataTimestamp": 1482169700000,
"type": "THRESHOLD",
"condition": {
"tenantId": "_system",
"triggerId": "auto-resolving-trigger",
"triggerMode": "FIRING",
"type": "THRESHOLD",
"conditionSetSize": 1,
"conditionSetIndex": 1,
"conditionId": "_system-auto-resolving-trigger-FIRING-1-1",
"dataId": "hm_g_data_x",
"operator": "GT",
"threshold": 5
},
"value": 7
}
]
],
"severity": "HIGH",
"status": "OPEN",
"lifecycle": [
{
"status": "OPEN",
"user": "system",
"stime": 1482169701624
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment