Commit 963f3941 authored by ale's avatar ale

Parameterize Prometheus alertmanager SMTP params

parent cc4f007d
Pipeline #3342 passed with stage
in 5 minutes and 11 seconds
---
alert_email: "root"
# Destination (To:) of alert emails.
alert_email: "root@{{ domain }}"
# Alertmanager SMTP parameters.
alertmanager_smtp_from: "prometheus@{{ domain }}"
alertmanager_smtp_smarthost: "localhost:25"
alertmanager_smtp_require_tls: false
alertmanager_smtp_hello: "localhost"
alertmanager_smtp_auth_username: ""
alertmanager_smtp_auth_password: ""
global:
smtp_from: 'prometheus@{{ domain }}'
smtp_smarthost: 'mail-frontend.{{ domain }}:10025'
smtp_require_tls: false
smtp_from: '{{ alertmanager_smtp_from }}'
smtp_smarthost: '{{ alertmanager_smtp_smarthost }}'
smtp_require_tls: {{ alertmanager_smtp_require_tls }}
smtp_auth_username: '{{ alertmanager_smtp_auth_username }}'
smtp_auth_password: '{{ alertmanager_smtp_auth_password }}'
smtp_hello: '{{ alertmanager_smtp_hello }}'
templates:
- '/etc/prometheus/alertmanager_templates/*.tmpl'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment