{# The weekly report's plain-text part; the same facts as report.html. #} Steward weekly report, {{ period }} {% if d.hosts_down %} {{ d.hosts_down|length }} {{ "monitor is" if d.hosts_down|length == 1 else "monitors are" }} down now: {{ d.hosts_down|join(", ") }} {% endif %} ACTIVE ALERTS{% if base %} ({{ base }}/alerts/){% endif %} {% for a in alerts %} - {{ a.state }}: {{ a.name }} — {{ a.resource }} ({{ a.condition }}) {% else %} None. Nothing is firing. {% endfor %} This week {{ d.alert_events.fired }} {{ "alert" if d.alert_events.fired == 1 else "alerts" }} fired and {{ d.alert_events.resolved }} resolved. UPTIME OVER 7 DAYS{% if base %} ({{ base }}/monitors/){% endif %} {% for m in d.uptime_summary %} - {{ m.name }}: {{ "—" if m.pct_7d is none else "%.2f%%"|format(m.pct_7d) }} {% else %} No monitors are enabled. {% endfor %} {% if anomalies.seen or anomalies.lapsed %} METRIC ANOMALIES THIS WEEK{% if base %} ({{ base }}/alerts/anomalies){% endif %} {% for a in anomalies.seen %} - {{ a.review }}: {{ a.name }}, {{ a.when }} ({{ a.level }}) {% endfor %} {% for a in anomalies.lapsed %} - {{ a.review }}: {{ a.name }}, lapsed unreviewed; {{ a.when }} ({{ a.level }}) {% endfor %} {% if anomalies.to_review %} {{ anomalies.to_review }} {{ "anomaly waits" if anomalies.to_review == 1 else "anomalies wait" }} to be marked normal or real. {% endif %} {% endif %} {% if d.top_routers %} BUSIEST TRAEFIK ROUTERS, LAST 24 HOURS{% if base %} ({{ base }}/plugins/traefik/){% endif %} {% for r in d.top_routers %} - {{ r.name }}: {{ "%.2f req/s"|format(r.avg_rate) }} {% endfor %} {% endif %} -- Sent {{ sent }}. The weekly report is turned on, and its day and hour set, in Settings › Reports.