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
- service-nginx
- service-nginx-openlayers
- service-cpthook
- service-prometheus
- service-influxdb
- service-yanic

View File

@ -8,10 +8,13 @@ route:
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receiver: 'email'
receiver: 'mail_irc'
receivers:
- name: 'email'
- name: 'mail_irc'
email_configs:
- send_resolved: true
to: "admin@lists.freifunk-mwu.de"
- send_resolved: true
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:
- { role: service-nginx }
- { role: service-cpthook }