blob: 0e61a53901ed34fd0426e288420e3b25f49d83c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[DEFAULT]
sslverify = no
output = presto
endpoint = http://localhost:8080/api
timezone = {{ alerta_client_timezone }}
{{ '{%-' }} if env.API_KEY {{ '%}' }}
key = {{ '{{' }} env.API_KEY {{ '}}' }}
{{ '{%-' }} endif {{ '%}' }}
debug = {{ '{{' }} 'yes' if env.DEBUG else 'no' {{ '}}' }}
{% if alerta_mailer is defined %}
[alerta-mailer]
debug = {{ '{{' }} 'yes' if env.DEBUG else 'no' {{ '}}' }}
{{ '{%-' }} if env.API_KEY {{ '%}' }}
key = {{ '{{' }} env.API_KEY {{ '}}' }}
{{ '{%-' }} endif {{ '%}' }}
endpoint = http://localhost:8080/api
amqp_url = redis://localhost:6379
email_type: text
mail_template: /app/email.tmpl
{% for option, value in alerta_mailer.items() %}
{{ option }} = {{ value }}
{% endfor %}
{% endif %}
|