summaryrefslogtreecommitdiffstats
path: root/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml')
-rw-r--r--Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml b/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml
new file mode 100644
index 0000000..71df239
--- /dev/null
+++ b/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-tripsit.yaml
@@ -0,0 +1,30 @@
+http_host: 127.0.0.1
+http_port: 2420
+
+irc_host: newirc.tripsit.me
+irc_port: 6697
+
+irc_nickname: watchdog
+# Password used to identify with NickServ
+irc_nickname_password: $NSPASS
+# Use this IRC real name
+irc_realname: Infrastructure Monitoring
+
+irc_channels:
+ - name: "#_systems"
+ - name: "#tripsit-dev"
+
+msg_once_per_alert_group: no
+use_privmsg: yes
+msg_template: "ALERT: {{ .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"