Hi guys,
i want to configure my alertmanager to send alerts on emails.
i have a rule set for instance if it goes down, an alert is activated.
Although i'm able to check alerts on Web UI
But i'm not able to receive any emails.
Here is my alertmanager.yml file:
global:
route:
group_by: [Alertname]
receiver: email-me
receivers:
- name: email-me
email_configs:
auth_password: "xxxxxx"
And I've also checked alertmanager logs and it gives me this:
Jun 30 17:17:17 localhost.localdomain alertmanager[41098]: level=error ts=2020-06-30T21:17:17.150686531Z caller=notify.go:332 component==dispatcher msg="Error on notify" err="Post
http://127.0.0.1:5001/: dial tcp
127.0.0.1:5001: connect: connection refused"
Jun 30 17:17:17 localhost.localdomain alertmanager[41098]: level=error ts=2020-06-30T21:17:17.150754532Z caller=dispatch.go:177 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post
http://127.0.0.1:5001/: dial tcp
127.0.0.1:5001: connect: connection refused"
I've searched a lot online, couldn't find anything!
Can someone please help me with this, Thanks in advance!