summaryrefslogtreecommitdiff
path: root/roles/monitoring/alerta/files/email.tmpl
blob: 29165281e4a05abf0f5579c5cc8e639f05b63f5f (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
25
26
27
28
29
30
31
32
------------------------------------------------------------
[{{ alert.status|title }}] {{ alert.environment }}: {{ alert.severity|title }} {{ alert.event }} on {{ alert.service|join(', ') }} {{ alert.resource }}
------------------------------------------------------------

Alert ID: {{ alert.id }}
Create Time: {{ alert.create_time }}
Environment: {{ alert.environment }}
Services: {{ alert.service|join(', ') }}
Resource: {{ alert.resource }}
Event: {{ alert.event }}
Group: {{ alert.group }}
Value: {{ alert.value }}
Severity: {{ alert.previous_severity|title}} -> {{ alert.severity|title }}
Status: {{ alert.status|title }}
Text: {{ alert.text | safe }}
Duplicate Count: {{ alert.duplicate_count }}
Origin: {{ alert.origin }}
Tags: {{ alert.tags|join(', ') }}
{% for key,value in alert.attributes.items() -%}
{{ key|title }}: {{ value | safe }}
{% endfor -%}

{% if alert.raw_data %}
Raw Data
{{ alert.raw_data | safe }}
{% endif %}

To acknowledge this alert visit this URL:
{{ dashboard_url | safe }}/#/alert/{{ alert.id }}

Generated by {{ program }} on {{ hostname }} at {{ now }}