**Источник:** {{ source }} {% if k8s_cluster %}**Kubernetes кластер:** {{ k8s_cluster }}{% endif %} --- ## Детали алерта {% if source == "alertmanager" %} **Статус:** {{ status }} **Название:** {{ alertname }} **Критичность:** {{ severity }} {% if summary %}**Краткое описание:** {{ summary }} {% endif %} {% if description %}**Подробное описание:** {{ description }} {% endif %} **Метки:** {% for key, value in common_labels.items() %} - *{{ key }}*: {{ value }} {% endfor %} **Аннотации:** {% for key, value in common_annotations.items() %} - *{{ key }}*: {{ value }} {% endfor %} {% endif %} {% if source == "grafana" %} **Состояние:** {{ state }} **Правило:** {{ ruleName }} **Заголовок:** {{ title }} {% if message %}**Сообщение:** {{ message }} {% endif %} {% if tags %}**Теги:** {% for key, value in tags.items() %} - *{{ key }}*: {{ value }} {% endfor %} {% endif %} {% if evalMatches %}**Метрики:** {% for match in evalMatches %} - *{{ match.metric }}*: {{ match.value }} {% endfor %} {% endif %} {% endif %} {% if source == "zabbix" %} **Статус:** {{ status }} **Серьезность:** {{ event_severity }} **Событие:** {{ event_name }} **Хост:** {{ host_name }} ({{ host_ip }}:{{ host_port }}) **Тема:** {{ alert_subject }} **Сообщение:** {{ alert_message }} {% endif %} --- *Тикет создан автоматически системой мониторинга*