Source
xxxxxxxxxx
throw 'Incorrect "event_update_status" parameter given' + params.event_update_status + '\nMust be 0 or 1.';
zabbix_export
version'5.4'
date'2021-04-26T13:40:40Z'
media_types
-
name'ManageEngine ServiceDesk'
type WEBHOOK
parameters
22
name event_nseverity
value'{EVENT.NSEVERITY}'
0
name event_recovery_value
value'{EVENT.RECOVERY.VALUE}'
1
name event_source
value'{EVENT.SOURCE}'
2
name event_update_status
value'{EVENT.UPDATE.STATUS}'
3
name event_value
value'{EVENT.VALUE}'
14
name'field_ref:requester'
value'<PLACE API USER NAME>'
11
name'field_string:description'
value'{ALERT.MESSAGE}'
13
name'field_string:subject'
value'{ALERT.SUBJECT}'
15
name priority_average
value Normal
16
name priority_default
value Normal
17
name priority_disaster
value High
18
name priority_high
value High
19
name priority_information
value Low
20
name priority_not_classified
value Low
21
name priority_warning
value Medium
8
name sd_on_demand_client_id
value'<PLACE ON DEMAND CLIENT ID>'
9
name sd_on_demand_client_secret
value'<PLACE ON DEMAND CLIENT SECRET>'
10
name sd_on_demand_refresh_token
value'<PLACE ON DEMAND REFRESH TOKEN>'
23
name sd_on_demand_url_auth
value'<PLACE AUTHENTICATION URL FOR ON DEMAND>'
7
name sd_on_premise
value'true'
4
name sd_on_premise_auth_token
value'<PLACE ON PREMISE TECHNICIAN_KEY>'
12
name sd_request_id
value'{EVENT.TAGS.__zbx_sd_request_id}'
5
name sd_url
value'<PLACE INSTANCE URL>'
6
name trigger_description
value'{TRIGGER.DESCRIPTION}'
script
var MEngine = {
params: {},
setParams: function (params) {
if (typeof params !== 'object') {
return;
}
MEngine.params = params;
if (typeof MEngine.params.url === 'string') {