...
1global:
2 smtp_smarthost: 'localhost:25'
3 smtp_from: 'alertmanager@example.org'
4 smtp_auth_username: 'globaluser'
5 smtp_auth_password_file: '/tmp/globaluserpassword'
6 smtp_hello: "host.example.org"
7route:
8 receiver: 'email-notifications'
9receivers:
10 - name: 'email-notifications'
11 email_configs:
12 # Use global
13 - to: 'one@example.org'
14 # Override global with other file
15 - to: 'two@example.org'
16 auth_username: 'localuser1'
17 auth_password_file: '/tmp/localuser1password'
18 # Override global with inline password
19 - to: 'three@example.org'
20 auth_username: 'localuser2'
21 auth_password: 'mysecret'
View as plain text