{% extends "layout.html" %} {% from "_partials/page_description.html" import page_description %} {% block title %}Dashboard - pixie{% endblock %} {% block subnav %} {% endblock %} {% block content %} {{ page_description('speedometer2', 'Status across pixie, following the model: machines you manage, Catalog sources you can fetch, the Images those sources materialise (with on-disk footprint + how much is reclaimable), the alias-keyed overlay volumes, and events. Output-only - each tile links to its page for actions. Refreshes every 5 s.') }} {# Tiles mirror the storage/lifecycle model + the nav: Machines, Catalog (sources you can fetch), Images (the materialised entities with footprint + reclaimable refcount), Overlays (alias-keyed single-writer volumes), Events. Output-only -- each tile reports and links to its pane; no actions live here. #}

Machines

{{ stats.machines_total }}
Bound
{{ stats.machines_bound }}
Inventoried
{{ stats.machines_with_inventory }}

Catalog

{{ stats.catalog_total }}
Sources
{{ stats.catalog_total }}
Not fetched
{{ stats.catalog_unfetched }}

Images

{{ stats.images_count }}
On disk
{{ stats.images_bytes_display }}
Reclaimable
{{ stats.images_reclaimable }}

Overlays

{{ stats.overlays_count }}
Disk used
{{ stats.overlays_bytes_display }}
Serving
{{ stats.overlays_running }}

Events

{{ stats.events_total }}
Errors
{% if stats.events_error_count > 0 %} {{ stats.events_error_count }} {% else %} 0 {% endif %}
Last
{% if stats.events_last_ts %}{{ stats.events_last_ts | fmt_ts }}{% else %}-{% endif %}
{# Live-env readiness (OUTPUT ONLY). The dashboard reports whether the pixie-* boot modes have a bootable image selected; the image + cmdline config live on the dedicated /ui/live-env pane. #}

Live env

{% if stats.live_env_ready %} ready {% else %} not ready {% endif %} Manage
{% if stats.live_env_ready %}

Image {{ stats.live_env_image_sha[:12] }} selected and fetched; pixie-tui / pixie-inventory / pixie-flash-* boot it over ephemeral nbdboot.

{% elif stats.live_env_image_sha %}

Live-env image {{ stats.live_env_image_sha[:12] }} is selected but not fetched. Every pixie-* boot_mode falls back to the "unavailable" iPXE plan until the image is fetched. Fetch it →

{% else %}

No live-env image selected. Every pixie-* boot_mode falls back to the "unavailable" iPXE plan until one is set. Select it →

{% endif %}

Recent events

All events
{% if events %}
{# ``Related to`` reads as ``: ``: the subject_kind badge is the category, subject_id the specific name / MAC / export name. #} {% for e in events %} {% endfor %}
When Kind Related to Summary
{{ e.ts | fmt_ts }} {{ e.kind }} {% if e.subject_kind %} {{ e.subject_kind }} {{ e.subject_id or '' }} {% else %} - {% endif %} {{ e.summary or "" }}
{% else %}

No events yet.

{% endif %}
{% endblock %}