forked from s-phalke/alertmanager-webhook-servicenow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
servicenow_example.yml
23 lines (21 loc) · 999 Bytes
/
servicenow_example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
service_now:
instance_name: "CHANGE_ME"
user_name: "CHANGE_ME"
password: "CHANGE_ME"
table_name: "incident"
workflow:
incident_group_key_field: "CHANGE_ME"
no_update_states: [6,7,8]
incident_update_fields: ["comments"]
default_incident:
assignment_group: "{{.CommonAnnotations.assignment_group}}"
category: "Failure"
cmdb_ci: "{{.CommonAnnotations.cmdb_ci}}"
comments: "Alerts list:\n\n{{ range .Alerts }}[{{ .Status }}] {{.StartsAt}} {{.Labels.alertname}}\n{{.Annotations.description}}\n\n{{ end }}"
company: "{{.CommonAnnotations.company}}"
contact_type : "{{.CommonAnnotations.contact_type}}"
description: "Received alerts from AlertManager at {{.ExternalURL}} (\"{{.Receiver}}\" receiver configuration) with common descriptions:\n\n{{.CommonAnnotations.description}}"
impact: "2"
short_description: "Alerts from group: {{ range $key, $val := .GroupLabels}}{{ $key }}:{{ $val }} {{end}}"
subcategory: "Missing Part"
urgency: "{{.CommonAnnotations.urgency}}"