-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathZendesk_v1.json
50 lines (50 loc) · 2.99 KB
/
Zendesk_v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"enabledStatus": [
"active",
"clear",
"update",
"ack"
],
"parseMethod": "jsonPath",
"name": "Zendesk",
"ack": {
"headers": [],
"password": "********",
"method": "put",
"payload": "{\n \"ticket\": {\n \"status\": \"open\", \n \"comment\": { \"body\": \"##MESSAGE##\", \"author_id\": ##zendesk.authorid## }\n }\n}",
"payloadFormat": "json",
"url": "https://ZenDeskPortal.zendesk.com/api/v2/tickets/##EXTERNALTICKETID##.json",
"username": ""
},
"clear": {
"headers": [],
"password": "********",
"method": "put",
"payload": "{\n \"ticket\": {\n \"subject\": \"##LEVEL## - ##HOST## ##INSTANCE##\", \"type\": \"incident\",\n \"comment\": { \"body\": \"Alert Cleared:\\nHost: ##HOST##\\nDatasource: ##DATASOURCE##\\nDatapoint: ##DATAPOINT##\\nLevel: ##LEVEL##\\n Start: ##START##\\nDuration: ##DURATION##\\nValue: ##VALUE##\\nReason: ##DATAPOINT## ##THRESHOLD##\"},\n \"status\": \"solved\",\"priority\": \"normal\"\n }\n}",
"payloadFormat": "json",
"url": "https://ZenDeskPortal.zendesk.com/api/v2/tickets/##EXTERNALTICKETID##.json",
"username": ""
},
"description": "Send LogicMonitor alerts to Zendesk. Please review LogicMonitor documentation available here: https://www.logicmonitor.com/support/settings/integrations/create-update-close-tickets-zendesk-response-alerts/\n\nReplace 'ZenDeskPortal' in the URL with the appropriate name, and fill out your credentials.",
"active": {
"headers": [],
"password": "********",
"method": "post",
"payload": "{\n \"ticket\": {\n \"subject\": \"##LEVEL## - ##HOST## ##INSTANCE##\", \"type\": \"incident\",\n \"comment\": { \"body\": \"Host: ##HOST##\\nDatasource: ##DATASOURCE##\\nDatapoint: ##DATAPOINT##\\nLevel: ##LEVEL##\\n Start: ##START##\\nDuration: ##DURATION##\\nValue: ##VALUE##\\nReason: ##DATAPOINT## ##THRESHOLD##\"},\n \"priority\": \"normal\"\n }\n}",
"payloadFormat": "json",
"url": "https://ZenDeskPortal.zendesk.com/api/v2/tickets.json",
"username": ""
},
"update": {
"headers": [],
"password": "********",
"method": "put",
"payload": "{\n \"ticket\": {\n \"subject\": \"##LEVEL## - ##HOST## ##INSTANCE##\", \"type\": \"incident\",\n \"comment\": { \"body\": \"Alert Escalated/De-escalated:\\nHost: ##HOST##\\nDatasource: ##DATASOURCE##\\nDatapoint: ##DATAPOINT##\\nLevel: ##LEVEL##\\n Start: ##START##\\nDuration: ##DURATION##\\nValue: ##VALUE##\\nReason: ##DATAPOINT## ##THRESHOLD##\"},\n \"priority\": \"normal\"\n }\n}",
"payloadFormat": "json",
"url": "https://ZenDeskPortal.zendesk.com/api/v2/tickets/##EXTERNALTICKETID##.json",
"username": ""
},
"type": "http",
"parseExpression": "ticket.id",
"uiDetails": "{\"includeIDInHttpResponse\":true,\"groupInfo\":[[\"clear\"],[\"update\"],[\"ack\"],[\"active\"]],\"multipleMode\":true}"
}