added support for telegram notifications

This commit is contained in:
nd 2020-06-04 01:25:44 +02:00
parent 0f748dd02a
commit 069df8c553
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
5 changed files with 107 additions and 2 deletions

View file

@ -1,4 +1,5 @@
prometheus_alertmanager:
telegrambot: False
args:
"web.listen-address": "[::1]:9093"
config:
@ -25,7 +26,7 @@ prometheus_alertmanager:
# resend them.
repeat_interval: 3h
# A default receiver
receiver: mail-default
receiver: default
# All the above attributes are inherited by all child routes and can
# overwritten on each.
# The child route trees.
@ -43,7 +44,7 @@ prometheus_alertmanager:
equal: ['alertname', 'cluster', 'service']
receivers:
- name: "blackhole"
- name: 'mail-default'
- name: 'default'
send_resolved: True
email_configs:
- to: 'root@localhost'