diff options
author | Georg | 2021-08-06 17:42:45 +0200 |
---|---|---|
committer | Georg | 2021-08-06 17:42:45 +0200 |
commit | 4bd9e36ff45b2001b048a23a218e26605deac7d0 (patch) | |
tree | 4b592921aa4cbf98d75059f9223712b6ddcc1799 /Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml | |
parent | 1791f4374b72e5bd45dfbe6d2e543d0537f711e0 (diff) | |
download | monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.gz monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.tar.bz2 monitoring-4bd9e36ff45b2001b048a23a218e26605deac7d0.zip |
Mass Commit 06/08/2021
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml')
-rw-r--r-- | Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml b/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml new file mode 100644 index 0000000..23fa763 --- /dev/null +++ b/Prometheus_Alertmanager_IRC_Relay/alertmanager-irc-libertacasa.yaml @@ -0,0 +1,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" |