{% extends "base.html" %} {% import "_icons.html" as icons %} {% block title %}System health{% endblock %} {% block heading %}System health{% endblock %} {% block subhead %}

The live eidetic doctor report — Config, Git, LLM, RAG, and SMTP.

{% endblock %} {% block head_aside %} {{ icons.icon("clock", 14) }} Checked {{ now }} {% endblock %} {% set cat_icons = {'Config': 'settings', 'Git': 'git', 'LLM': 'cpu', 'RAG': 'database', 'SMTP': 'mail'} %} {% set pass_rate = ((report.summary.ok / report.summary.total * 100) | round | int) if report.summary.total else 0 %} {% block content %}
{{ pass_rate }}% pass rate
{{ icons.status_icon(report.overall, 18) }} {% if report.overall == 'ok' %}All systems operational {% elif report.overall == 'warn' %}Operational — warnings present {% else %}Action required{% endif %}
{{ report.summary.total }} {{ icons.icon("activity", 13) }} Total checks
{{ report.summary.ok }} {{ icons.icon("check-circle", 13) }} Passing
{{ report.summary.warn }} {{ icons.icon("alert-triangle", 13) }} Warnings
{{ report.summary.fail }} {{ icons.icon("x-circle", 13) }} Failing
{% for category in report.categories %} {% set ok = category.checks | selectattr('state', 'equalto', 'ok') | list | length %} {% set warn = category.checks | selectattr('state', 'equalto', 'warn') | list | length %} {% set fail = category.checks | selectattr('state', 'equalto', 'fail') | list | length %} {% set cstate = 'fail' if fail else ('warn' if warn else 'ok') %}
{{ icons.icon(cat_icons.get(category.name, 'server'), 18) }}

{{ category.name }}

{{ category.checks | length }} check{{ '' if category.checks | length == 1 else 's' }}
{{ icons.status_icon(cstate, 13) }} {% if fail %}{{ fail }} failing{% elif warn %}{{ warn }} warning{% else %}healthy{% endif %}
{% endfor %}
{% endblock %}