initial commit
This commit is contained in:
102
README.email-Alerting
Normal file
102
README.email-Alerting
Normal file
@ -0,0 +1,102 @@
|
||||
# ---
|
||||
# Configure email for Alerting
|
||||
# ---
|
||||
|
||||
# see:
|
||||
# https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/integrations/configure-email/
|
||||
|
||||
|
||||
# Use the Grafana Alerting - email integration to send email notifications
|
||||
# when your alerts are firing. An email is sent when an alert fires and
|
||||
# when an alert gets resolved.
|
||||
#
|
||||
# Note that you can customize the subject and message of the email using
|
||||
# notification templates. However, you cannot add HTML and CSS to email
|
||||
# notifications for visual changes.
|
||||
|
||||
|
||||
# ---
|
||||
# I) SMTP configuration (grafana.ini)
|
||||
# ---
|
||||
|
||||
# 1. Edit the configuration file 'grafana.ini' typically located in
|
||||
# the direcory '/etc/grafania'
|
||||
#
|
||||
#
|
||||
# Within the [smtp] settings section, specify the following parameters:
|
||||
#
|
||||
# enabled = true
|
||||
#
|
||||
# # The hostname or IP address of your SMTP server, and the port number
|
||||
# #of your SMTP server (commonly 25, 465, or 587). Default is localhost:25.
|
||||
# host = a.mx.oopen.de:465
|
||||
#
|
||||
# # Your SMTP username (if authentication is required).
|
||||
# user = grafana-nd@oopen.de
|
||||
#
|
||||
# # Your SMTP password (if authentication is required).
|
||||
# password = 24G%s.NSKJ/q
|
||||
#
|
||||
# # The email address from which Grafana notifications will be sent.
|
||||
# from_address = alert@grafana.ndneu.de
|
||||
#
|
||||
# # The name associated with the from_address.
|
||||
# from_name = Grafana
|
||||
#
|
||||
vim /etc/grafana/grafana.ini
|
||||
|
||||
|
||||
# 2. Restart Grafana.
|
||||
#
|
||||
systemctl restart grafana-server.service
|
||||
|
||||
|
||||
|
||||
# --
|
||||
# II) On Browserinterface set up email integration
|
||||
# --
|
||||
|
||||
# 1. Navigate to Alerts & IRM -> Alerting -> Contact points.
|
||||
#
|
||||
#
|
||||
# 2. Click + Add contact point.
|
||||
#
|
||||
#
|
||||
# 3. Enter a contact point name.
|
||||
#
|
||||
#
|
||||
# 4. From the Integration list, select Email.
|
||||
#
|
||||
#
|
||||
# 5. Enter the email addresses you want to send notifications to.
|
||||
#
|
||||
# E-mail addresses are case sensitive. Ensure that the e-mail address entered is correct.
|
||||
#
|
||||
#
|
||||
# 6. Click Test to check that your integration works.
|
||||
#
|
||||
# ** For Grafana Alertmanager only.**
|
||||
#
|
||||
#
|
||||
# 7. Click Save contact point.
|
||||
|
||||
# The email contact point is ready to receive alert notifications.
|
||||
# ================================================================
|
||||
|
||||
|
||||
# --
|
||||
# Next steps
|
||||
# ---
|
||||
|
||||
# 1. In Grafana, navigate to Alerting > Alert rules.
|
||||
#
|
||||
# 2. Edit or create a new alert rule.
|
||||
#
|
||||
# 3. Scroll down to the Configure labels and notifications section.
|
||||
#
|
||||
# 4. Under Notifications click Select contact point.
|
||||
#
|
||||
# 5. From the drop-down menu, select the previously created contact point.
|
||||
#
|
||||
# 6. Click Save rule and exit.
|
||||
|
Reference in New Issue
Block a user