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
|
||||
- service-nginx
|
||||
- service-nginx-openlayers
|
||||
- service-cpthook
|
||||
- service-prometheus
|
||||
- service-influxdb
|
||||
- service-yanic
|
||||
|
|
|
@ -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"
|
||||
webhook_configs:
|
||||
- send_resolved: true
|
||||
url: http://127.0.0.1:8084/prometheus
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: service-nginx }
|
||||
- { role: service-cpthook }
|
||||
|
|
Loading…
Reference in a new issue