Correction: I've just tried this again, and if I shut down the SMTP
server, I *do* see failed SMTP attempts from alertmanager generating
logs, at increasing retry intervals:
Feb 16 12:18:41 prometheus alertmanager[1772]: level=debug
ts=2020-02-16T12:18:41.928Z caller=dispatch.go:465 component=dispatcher
aggrGroup="{}:{alertname=\"UpDown\"}" msg=flushing
alerts=[UpDown[0f48c03][active]]
Feb 16 12:18:41 prometheus alertmanager[1772]: level=debug
ts=2020-02-16T12:18:41.938Z caller=notify.go:668 component=dispatcher
msg="Notify attempt failed" attempt=1 integration=email receiver=brian
err="establish connection to server: dial tcp [XXXX::34]:25: connect:
connection refused"
Feb 16 12:18:42 prometheus alertmanager[1772]: level=debug
ts=2020-02-16T12:18:42.668Z caller=notify.go:668 component=dispatcher
msg="Notify attempt failed" attempt=2 integration=email receiver=brian
err="establish connection to server: dial tcp [XXXX::34]:25: connect:
connection refused"
...
I don't know why I didn't see them before.
However, when I start the SMTP server again, and the message is
successfully delivered, there isn't a log showing successful delivery.
--
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/460498b3-d65c-6dc9-b5c7-2becb1da2990%40pobox.com.