Created
June 29, 2018 11:01
-
-
Save ipeacocks/ea1a22a09ad31378b8dcec3e4fab0bc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat alertmanager.yaml | |
| global: | |
| resolve_timeout: 5m | |
| route: | |
| group_by: [Alertname] | |
| # Send all notifications to me. | |
| receiver: ipeacocks-alert | |
| group_by: ['job'] | |
| group_wait: 30s | |
| group_interval: 5m | |
| repeat_interval: 12h | |
| receiver: 'ipeacocks-alert' | |
| routes: | |
| - match: | |
| alertname: DeadMansSwitch | |
| receiver: 'ipeacocks-alert' | |
| receivers: | |
| - name: ipeacocks-alert | |
| email_configs: | |
| - to: [email protected] | |
| from: [email protected] | |
| # Your smtp server address | |
| smarthost: smtp-mail.outlook.com:587 | |
| auth_username: [email protected] | |
| auth_identity: [email protected] | |
| auth_password: y0ur-v3ry-h@rd-p@ssw0rd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment