Skip to content

Instantly share code, notes, and snippets.

@shailvipx
Last active September 7, 2017 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shailvipx/7fa7ed5d722062d6151c15c2db9bc05c to your computer and use it in GitHub Desktop.
Save shailvipx/7fa7ed5d722062d6151c15c2db9bc05c to your computer and use it in GitHub Desktop.
global:
# The smarthost and SMTP sender used for mail notifications.
smtp_smarthost: 'smtp.gmail.com:587'
smtp_from: '<sender-email-address>'
smtp_auth_username: "<sender-email-address>"
smtp_auth_password: '<sender-email-password>'
route:
group_by: [Alertname]
# Send all notifications to me.
receiver: email-me
receivers:
- name: email-me
email_configs:
- to: <receiver-email-address>
from: <sender-email-address>
smarthost: smtp.gmail.com:587
auth_username: "<sender-email-address>"
auth_identity: "<sender-email-address>"
auth_password: "<sender-email-password>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment