Hey Guys, I am trying to send alert:rotating_light: notification over Email, I am getting some error...
s
Hey Guys, I am trying to send alert🚨 notification over Email, I am getting some error of channel not being configured properly to send email for even a test alert. And I am not getting any mails even for an obvious conditions for alert.
Failed to send a test message to this channel, please confirm that the parameters are set correctly
This was the error message popped up when trying to set email channel and send a test mail Can you send me the procedure of setting mail based alerts, or does it require any prior SMTP configuration. Thanks and regards
r
@Vishal Sharma Can you look into this. Thank!.
v
@Srikanth Chekuri How do we configure email in open source version? Also please create doc on website as well.
s
Hey @Srikanth Chekuri, just checked the docker container of alertmanager {signoz/alertmanager:0.23.5} it seems the image is not able to connect to SMTP service and hence the issue with mail alert channels. Can you check this or tell me if there's any way we can change configuration explicitly ?
s
Hello, you need to set the env for smtp host
Copy code
ALERTMANAGER_SMTP_HOST
ALERTMANAGER_SMTP_PORT
ALERTMANAGER_SMTP_FROM
ALERTMANAGER_SMTP_AUTH_USERNAME
ALERTMANAGER_SMTP_AUTH_PASSWORD
ALERTMANAGER_SMTP_AUTH_SECRET
ALERTMANAGER_SMTP_AUTH_IDENTITY
Whichever are appropriate for your smtp server
v
@Srikanth Chekuri Do we have docs for this? If not can you please create a PR?
👍 1
102 Views