Hello,
I use prometheus/alertmanager to monitor a ceph octopus cluster. By
default alertmanager send alerts to dahboards of three monitor node via a
webhook integration.
I want all my alert define in prometheus to be sent by mail and to the ceph
dashbord so I've simply added a email_configs part to the ceph-dashbord
receiver as follow :
global:
resolve_timeout: 5m
route:
receiver: 'default'
routes:
- group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 1h
receiver: 'ceph-dashboard'
receivers:
- name: 'default'
webhook_configs:
- name: 'ceph-dashboard'
webhook_configs:
- url:
'https://ceph-m01.storage.mydomain.com:8443/api/prometheus_receiver'
- url: 'https://ceph-m03:8443/api/prometheus_receiver'
- url: 'https://ceph-m02:8443/api/prometheus_receiver'
email_configs:
- send_resolved: false
- to: [email protected]
- from: [email protected]
- auth_username: [email protected]
- hello: localhost
- smarthost: smtp.mydomain.com:25
- require_tls: false
This do not work and I have a "network error" message when i go to
alertmanager url.
Could you help me to keep one receiver and two notifications integrations
please ?
Laetitia
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/44c2eee7-ff78-4db9-a515-2b391d265848n%40googlegroups.com.