blob: 23fa7636aaba16cec1897dad8d1918e5479290b2 (
plain)
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
32
|
http_host: 127.0.0.1
http_port: 2410
irc_host: irc.liberta.casa
irc_port: 6697
irc_host_password: watchdog:$PASS
irc_nickname: watchdog
# Password used to identify with NickServ
#irc_nickname_password: $NSPASS
# Use this IRC real name
irc_realname: Alertmanager on mercury.lysergic.dev
irc_channels:
- name: "#universe"
password: $JTOKEN
# - name: "#admins"
msg_once_per_alert_group: no
use_privmsg: yes
msg_template: "Severity: {{ .Labels.severity }} - Job: {{ .Labels.job }} - Title: {{ .Annotations.title}} - Body: {{ .Annotations.description }} - Summary: {{ .Labels.alertname }} on {{ .Labels.instance }} is {{ .Status }}"
# Note: When sending only one message per alert group the default
# msg_template is set to
# "Alert {{ .GroupLabels.alertname }} for {{ .GroupLabels.job }} is {{ .Status }}"
# Set the internal buffer size for alerts received but not yet sent to IRC.
alert_buffer_size: 2048
nickserv_identify_patterns:
- "identify via /msg NickServ identify <password>"
- "type /msg NickServ IDENTIFY password"
- "authenticate yourself to services with the IDENTIFY command"
|