I created monitor rules and tried to test email function. When firing, I couldn’t get email notice. When I check /srv/logs/alertmanager.log in PMM docker. I saw error with “501 5.5.4 invalid domain name”. I posted in attachment.
typically an ehlo (or helo) is just a domain, not an email address…you may be getting an error because the @ symbol is breaking things. usually the ehlo is the hostname of the calling system but that’s not required…try pmmserver.company.com or something (rarely does that ehlo domain have to actually resolve in DNS.
Thank for advise. I don’t realize the first screenshott too small to watch logs. I post alertmanager.log file.alertmanager.log (626.0 KB)
In the files, there are a lot of “Notify for alerts failed” message with “send EHLO command: 501 5.5.4 Invalid domain name”. The problem is I can’t get alert email. I’m wondering whether the “EHLO error” cause the problem.
Per attached alertmanager.log, it looks like the error from Prometheus’ Alertmanager.
So, is it possbile to change log level to debug against PMM Alertmanager so I can see what cause the email sender return “send EHLO command: 501 5.5.4 Invalid domain name”?