-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.example.yml
29 lines (29 loc) · 974 Bytes
/
config.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
24
25
26
27
28
29
http:
addr: :8000
auth:
username: "alertmanager"
password: "verysecure"
ntfy:
baseurl: https://ntfy.sh
auth:
username: "admin"
password: "verysecure"
notification:
# The topic can either be a hardcoded string or a gval expression that evaluates to a string
topic: alertmanager
# Priority reference: https://docs.ntfy.sh/publish/#message-priority
# Can either be a hardcoded string or a gval expression that evaluates to a string
priority: |
status == "firing" ? "urgent" : "default"
tags:
# Tags with no condition are always included
# Emoji shortcode reference: https://docs.ntfy.sh/emojis/
- tag: "+1"
condition: status == "resolved"
- tag: rotating_light
condition: status == "firing"
templates:
title: |
{{ if eq .Status "resolved" }}Resolved: {{ end }}{{ index .Annotations "summary" }}
description: |
{{ index .Annotations "description" }}