Role service-prometheus: send alerts via IRC

This commit is contained in:
Julian Labus 2019-02-15 11:41:55 +01:00
parent e29fd1c5d5
commit 603f6af64d
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
3 changed files with 9 additions and 4 deletions

View file

@ -20,6 +20,7 @@
- network-routing - network-routing
- service-nginx - service-nginx
- service-nginx-openlayers - service-nginx-openlayers
- service-cpthook
- service-prometheus - service-prometheus
- service-influxdb - service-influxdb
- service-yanic - service-yanic

View file

@ -8,10 +8,13 @@ route:
group_wait: 30s group_wait: 30s
group_interval: 5m group_interval: 5m
repeat_interval: 3h repeat_interval: 3h
receiver: 'email' receiver: 'mail_irc'
receivers: receivers:
- name: 'email' - name: 'mail_irc'
email_configs: email_configs:
- send_resolved: true - send_resolved: true
to: "admin@lists.freifunk-mwu.de" to: "admin@lists.freifunk-mwu.de"
webhook_configs:
- send_resolved: true
url: http://127.0.0.1:8084/prometheus

View file

@ -1,3 +1,4 @@
--- ---
dependencies: dependencies:
- { role: service-nginx } - { role: service-nginx }
- { role: service-cpthook }