-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
xmpp-alerts.yml.example
29 lines (27 loc) · 1.17 KB
/
xmpp-alerts.yml.example
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
# Login details for the bot itself
jid: '[email protected]'
password: 'PASSWORD'
# (optional) command that produces the password
# password_command: 'cat /run/secrets/foo'
listen_address: '127.0.0.1'
listen_port: 9199
# JID to send alerts to
to_jid: '[email protected]'
# List of JIDs that are allowed to query alerts and set silences. Defaults to
# to_jid.
amtool_allowed: []
# to activate MUC (groupchat message)
# muc: yes
# muc_jid: "[email protected]"
# muc_bot_nick: "PrometheusAlerts"
# HTML message template as jinja2:
# html_template: |
# <strong>{{ status.upper() }}</strong>: <i>{{ labels.alertname }}</i>
# {% if labels.host or labels.instance %} at {{ labels.host or labels.instance }}{% endif %}
# {% if annotations.message %}<br/>{{ annotations.message.replace("\n", "<br/>") }}{% endif %}
# {% if annotations.description %}<br/>{{ annotations.description }}{% endif %}
# <br/><a href="{{ generatorURL }}">Alert link</a>
# Text message template as jinja2; defaults to html_template with tags stripped.
# text_template: |
# {{ status.upper() }}: *{{ labels.alertname }}* at {{ labels.host or labels.instance }}:\
# {{ annotations.message }}. {{ generatorURL }}