Hello,
Somebody could check my configuration ?
My postfix works correctly, but not mails in my prometheus container.
[root@admin-toto ~]# docker exec -it monitor_prometheus sh
/prometheus # cat alertmanager.yml
global:
resolve_timeout: 5m
smtp_smarthost: 10.10.10.10
smtp_from:
al...@alertmanager.com smtp_require_tls: false
route:
group_by: ['alertname']
group_wait: 10s
group_interval: 10s
repeat_interval: 4h
receiver: 'team-admin'
receivers:
- name: 'team-admin'
email_configs:
- to: '
frederic...@toto.com'
#inhibit_rules:
# - source_match:
# severity: 'critical'
# target_match:
# severity: 'warning'
# equal: ['alertname', 'job', 'instance']
Thanks by advance
Regards