Closed diriy closed 3 years ago
It's documented over at the Alertmanager docs page.
You can find an example of the alertmanager config.yml
below:
route:
receiver: 'email'
receivers:
- name: 'email'
email_configs:
- send_resolved: true
to: 'alertmanager@example.com'
from: '"Alertmanager" <alertmanager@example.com>'
smarthost: 'mail.example.com:25'
auth_username: 'user@example.com'
auth_password: 'passwordhere'
html: '{{ template "email.default.html" . }}'
Unfortunately this returns me the following error:
alertmanager | level=info ts=2021-01-18T10:06:19.780Z caller=cluster.go:632 component=cluster msg="gossip not settled but continuing anyway" polls=0 elapsed=25.052748ms
alertmanager exited with code 1
The instance cannot start. What do I do wrong?
@nightah , unfortunately, the problem still exist. any help appreciated.
Could you please add to documentation what should I do for to configure email sending as a notifier instead of slack?