-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
31 lines (26 loc) · 871 Bytes
/
config.example.yaml
File metadata and controls
31 lines (26 loc) · 871 Bytes
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
notifiers:
- type: webhook
webhook:
# "url" and "method" are the HTTP URL and method.
url: "https://..."
method: POST
# "body" may contain an arbitrary JSON structure.
# Dodemansknop will extend the JSON structure with a generated "id" and
# "message" field.
body:
severity: critical
# "headers" may contain a list of additional request headers that should
# be sent with the webhook request.
headers:
- [X-Foo, bar]
- type: slack
slack:
# "url" is the URL if a Slack Incoming Webhook
url: "https://..."
# "icon_emoji" is a Slack emoji code that will be used to decorate the
# Slack message.
icon_emoji: ":dizzy_face:"
# "color" is an HTML color code with which the Slack message should be
# decorated.
color: "#ff0000"
timeout: 5