{# steward/templates/settings/notifications.html #} {% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}Settings — Notifications — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Settings", "/settings/"), ("Notifications", "")]) }}{% endblock %} {% block content %} {% set active_tab = "notifications" %} {% include "settings/_tabs.html" %}
{{ csrf_field() }}
{# ── SMTP ──────────────────────────────────────────────────────────────── #}

Email (SMTP)

Port 465 always connects with implicit TLS; on other ports the box upgrades the connection with STARTTLS.

{# ── Webhook ───────────────────────────────────────────────────────────── #}

Webhook

Stored encrypted and never shown again: a webhook URL usually holds its own token.

{% if webhook_host %}
{% endif %}

{{ '{{ alert.rule_name }}' }} is escaped to sit inside a JSON string, so quotes or line breaks in a name can't break the body; a missing value reads "no data". For a bare JSON value use {{ '{{ raw.value | tojson }}' }} (a number, or null). Fields: state, rule_name, resource, metric, value, threshold, source_module, note, timestamp.

{% endblock %}