{% extends "admin/layout.html" %} {% block content %}

Health {% if overall_ok %} Healthy {% else %} Degraded {% endif %}

Live connectivity checks and system information.

{# Service checks #}
{% for check in checks %}
{% if check.ok == true %} {% elif check.ok == false %} {% else %} {% endif %}

{{ check.name }}

{{ check.label }}

{{ check.detail }}

{% endfor %}
{# System info #}

System Information

{% set rows = [ ("Hunt version", info.hunt_version), ("Python version", info.python_version), ("Platform", info.platform), ("Environment", info.app_env), ("Debug mode", "Enabled" if info.app_debug else "Disabled"), ("Storage size", info.storage_size), ("Log size", info.log_size), ] %} {% for label, value in rows %}
{{ label }}
{% if label == "Debug mode" and info.app_debug %} {{ value }} {% else %} {{ value }} {% endif %}
{% endfor %}
{% endblock %}