production issue

28 views
Skip to first unread message

Anup Tripathi

unread,
Sep 15, 2021, 2:36:47 PM9/15/21
to promethe...@googlegroups.com
Hi Team,

i had alertmanger configured in my env now i have changed smtp server and now it's showing "Prometheus_Alertmanager_Notification_Failing" error. My alertmanager config is as below.


Please help what wrong i am doing


global:
smtp_smarthost: '########:587'
smtp_from: 'alertmanager@####.com'
smtp_require_tls: true
smtp_auth_username: '#######'
smtp_auth_password: '########'

Brian Candler

unread,
Sep 16, 2021, 3:16:02 AM9/16/21
to Prometheus Users
Look at alertmanager logs:  journalctl -eu alertmanager (if you are running alertmanager under systemd)

Look at the network traffic:  tcpdump -i <interface> -nn -s0 -vA tcp port 587

Could it be that your target host doesn't accept TLS?

Could it be that your target host has an invalid TLS certificate, or a cert which doesn't match the hostname in "########:587"? If you want to keep TLS but disable cert verification, then unfortunately there's no global smtp_tls_config; as far as I can see you have to set tls_config under the email_configs section of every individual receiver.

See:
Reply all
Reply to author
Forward
0 new messages