Role service-prometheus: send alerts via IRC
This commit is contained in:
parent
e29fd1c5d5
commit
603f6af64d
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: service-nginx }
|
- { role: service-nginx }
|
||||||
|
- { role: service-cpthook }
|
||||||
|
|
Loading…
Reference in a new issue