Debugging email_configs in Alertmanager

293 views
Skip to first unread message

Renan Campos

unread,
Dec 6, 2021, 2:06:49 PM12/6/21
to promethe...@googlegroups.com
Given that an Alertmanager receiver is properly configured with an email_configs clause, how can it be verified that the smtp server is receiving a valid call from Alertmanager?

Brian Candler

unread,
Dec 6, 2021, 2:42:37 PM12/6/21
to Prometheus Users
By looking in logs in your SMTP server
By checking if an E-mail is received
By running alertmanager with --log.level=debug and looking at its output
By looking at the metrics which alertmanager gives:
    curl localhost:9093/metrics | grep email
Reply all
Reply to author
Forward
0 new messages