{% extends "base.html" %}{% block content %}

Local host

Dashboard

{% if status.open_incidents %}{{ status.open_incidents }} live incident{{ '' if status.open_incidents == 1 else 's' }} need a look.{% elif summary.attention_count %}{{ summary.attention_count }} monitor{{ '' if summary.attention_count == 1 else 's' }} need attention; everything else is clear or intentionally disabled.{% elif summary.disabled_count %}No monitors need attention. {{ summary.clear_count }} clear; {{ summary.disabled_count }} intentionally disabled.{% else %}All monitors clear. Last tick {% if status.last_tick_age_s is none %}unknown{% else %}{{ '%.0f'|format(status.last_tick_age_s) }}s ago{% endif %}.{% endif %}

{{ status.open_incidents }} Open incidents
{% if summary.worst_severity is not none %}{{ severity_name(summary.worst_severity) }}{% else %}clear{% endif %} Worst severity
{{ summary.attention_count }} Need attention
{{ summary.clear_count }} Clear
{% if status.last_tick_age_s is none %}โ€”{% else %}{{ '%.0f'|format(status.last_tick_age_s) }}s{% endif %} Last tick
{{ '%.1f'|format(status.db_bytes / 1048576) }} Database MB
{% macro render_tile(tile, mode) -%}

{{ tile.label }}

{{ tile.name }}

{% if tile.glance %}

{{ tile.glance.entity_id }} {{ tile.glance.value }}

{% if tile.glance.thresholds %}

{% for threshold in tile.glance.thresholds %}{{ threshold.label }} {{ threshold.value }}{% if not loop.last %} {% endif %}{% endfor %}

{% endif %} {% if tile.glance.meter %}
{# SVG geometry attributes โ€” not CSS โ€” so SE-02 CSP style-src 'self' still works. #}
{% endif %}
{% endif %}

{{ tile.description }}

{% if tile.incident_count %}

{{ tile.incident_count }} live incident{{ '' if tile.incident_count == 1 else 's' }}{% if tile.max_severity is not none %}; highest {{ severity_name(tile.max_severity) }}{% endif %}

{% endif %} {% if tile.trends %}{% endif %}
{%- endmacro %} {% if attention_tiles %}

Needs attention

{% for tile in attention_tiles %}{{ render_tile(tile, 'focus') }}{% endfor %}
{% endif %} {% if clear_tiles %}

{% if attention_tiles %}All clear{% else %}Monitors{% endif %}

{% for tile in clear_tiles %}
{{ render_tile(tile, 'row') }}
{% endfor %}
{% endif %} {% if disabled_tiles %}

Disabled

{% for tile in disabled_tiles %}
{{ render_tile(tile, 'row') }}
{% endfor %}
{% endif %} {% if not attention_tiles and not clear_tiles and not disabled_tiles %}

Monitors

No monitors configured.

{% endif %} {% if config_errors %}

Configuration errors

{% endif %}

Open incidents

{% include "incident_rows.html" %}{% endblock %}