{% extends "base.html" %} {% from "_macros.html" import crumbs %} {% block title %}Uptime / SLA — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Hosts", "/hosts/"), ("Uptime / SLA", "")]) }}{% endblock %} {% block content %}
| Host | Address | 24 h | 7 d | 30 d | 30-day bar |
|---|---|---|---|---|---|
| {{ host.name }} | {{ host.address }} | {% for window in ["24h", "7d", "30d"] %} {% set pct = ut.get(window) %}{% if pct is none %} — {% elif pct >= 99.9 %} {{ "%.2f"|format(pct) }}% {% elif pct >= 99 %} {{ "%.2f"|format(pct) }}% {% elif pct >= 95 %} {{ "%.2f"|format(pct) }}% {% else %} {{ "%.2f"|format(pct) }}% {% endif %} | {% endfor %} {# 30-day visual bar #} {% set pct30 = ut.get("30d") %}
{% if pct30 is none %}
no data
{% else %}
|
No hosts under watch. Summon one to the table.
Uptime aggregates every monitor attached to a host. Hosts with no monitors show —.
{% endblock %}