-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document smtp_hello parameter #988
Document smtp_hello parameter #988
Conversation
@@ -65,6 +65,8 @@ global: | |||
[ smtp_from: <tmpl_string> ] | |||
# The default SMTP smarthost used for sending emails. | |||
[ smtp_smarthost: <string> ] | |||
# The default hostname to identify to the SMTP server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should mention the default behaviour of using localhost here somehow.
038d666
to
805a91c
Compare
@@ -65,6 +65,9 @@ global: | |||
[ smtp_from: <tmpl_string> ] | |||
# The default SMTP smarthost used for sending emails. | |||
[ smtp_smarthost: <string> ] | |||
# The default hostname to identify to the SMTP server. If not specified, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We usually do this as | default = "localhost"
, and it might be worth making that explicit over in the am code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
472ff32
to
fe258ea
Compare
@@ -301,6 +306,8 @@ to: <tmpl_string> | |||
|
|||
# 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> ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter has been added in prometheus/alertmanager#934.
* op-guide: update monitor format * op-guide: update punctuation
Follow up of prometheus/alertmanager#892