May 2019
Intermediate to advanced
442 pages
11h 36m
English
Email is the standard communication method in most organizations, so it should be no surprise that it's supported by Alertmanager. Configuration-wise, it's quite straightforward to set up; however, since Alertmanager doesn't send emails directly, it needs to use an actual email relay. Let's use a real-world example that should be helpful for quick tests and low-budget setups, which is using the SMTP of an email provider (in this case, Google's Gmail):
global: smtp_smarthost: 'smtp.gmail.com:587' smtp_from: 'alertmanager@example.com' smtp_auth_username: 'alertmanager@example.com' smtp_auth_identity: 'alertmanager@example.com' smtp_auth_password: '<generated_token>'route: receiver: 'default'receivers:- name: 'default' email_configs: ...
Read now
Unlock full access