Skip to content

Instantly share code, notes, and snippets.

@ipeacocks
Created June 29, 2018 11:01
Show Gist options
  • Save ipeacocks/ea1a22a09ad31378b8dcec3e4fab0bc7 to your computer and use it in GitHub Desktop.
Save ipeacocks/ea1a22a09ad31378b8dcec3e4fab0bc7 to your computer and use it in GitHub Desktop.
$ 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