You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.3 KiB
37 lines
1.3 KiB
2 years ago
|
# Whether to notify about resolved alerts.
|
||
|
[ send_resolved: <boolean> | default = false ]
|
||
|
|
||
|
# The email address to send notifications to.
|
||
|
to: <tmpl_string>
|
||
|
|
||
|
# The sender's address.
|
||
|
[ from: <tmpl_string> | default = global.smtp_from ]
|
||
|
|
||
|
# The SMTP host through which emails are sent.
|
||
|
[ smarthost: <string> | default = global.smtp_smarthost ]
|
||
|
|
||
|
# The hostname to identify to the SMTP server.
|
||
|
[ hello: <string> | default = global.smtp_hello ]
|
||
|
|
||
|
# SMTP authentication information.
|
||
|
[ auth_username: <string> | default = global.smtp_auth_username ]
|
||
|
[ auth_password: <secret> | default = global.smtp_auth_password ]
|
||
|
[ auth_secret: <secret> | default = global.smtp_auth_secret ]
|
||
|
[ auth_identity: <string> | default = global.smtp_auth_identity ]
|
||
|
|
||
|
# The SMTP TLS requirement.
|
||
|
# Note that Go does not support unencrypted connections to remote SMTP endpoints.
|
||
|
[ require_tls: <bool> | default = global.smtp_require_tls ]
|
||
|
|
||
|
# TLS configuration.
|
||
|
tls_config:
|
||
|
[ <tls_config> ]
|
||
|
|
||
|
# The HTML body of the email notification.
|
||
|
[ html: <tmpl_string> | default = '{{ template "email.default.html" . }}' ]
|
||
|
# The text body of the email notification.
|
||
|
[ text: <tmpl_string> ]
|
||
|
|
||
|
# Further headers email header key/value pairs. Overrides any headers
|
||
|
# previously set by the notification implementation.
|
||
|
[ headers: { <string>: <tmpl_string>, ... } ]
|