This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
alerta.autonomic.zone/deploy.d/files/email.tmpl

36 lines
1.1 KiB
Cheetah
Raw Normal View History

2020-04-10 10:34:20 +00:00
------------------------------------------------------------
[{{ 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 }}
Duplicate Count: {{ alert.duplicate_count }}
Origin: {{ alert.origin }}
Tags: {{ alert.tags|join(', ') }}
{% for key,value in alert.attributes.items() -%}
{{ key|title }}: {{ value }}
{% endfor -%}
{% if alert.raw_data %}
Raw Data
{{ alert.raw_data }}
{% endif %}
Comrades! To Arms!
To acknowledge this alert visit this URL:
2020-04-15 19:35:53 +00:00
2020-04-10 10:34:20 +00:00
{{ dashboard_url }}/#/alert/{{ alert.id }}
Generated by {{ program }} on {{ hostname }} at {{ now }}