{% extends "base.html" %} {% block title %}Dashboard - Vacuum Wall{% endblock %} {% block content %}
Zones
{{ active_zones|default({})|length }}
Firewalld zones configured
Proxy Domains
{{ domains|default([])|length }}
SSL-terminated backends
Certificates
{{ certs|default([])|length }}
{% set expired = certs|selectattr('days_until_expiry','lt',0)|list|default([])|length %} {% set expiring = certs|rejectattr('days_until_expiry','lt',0)|selectattr('days_until_expiry','le',30)|list|default([])|length %}
{% if expired > 0 %}{{ expired }} expired. {% endif %} {% if expiring > 0 %}{{ expiring }} expiring soon.{% endif %} {% if expired == 0 and expiring == 0 %}All valid{% endif %}
WireGuard
{{ 'UP' if (wg_status is defined and wg_status.get('up')) else 'DOWN' }}
Tunnel state
Active Leases
{{ dnsmasq.get('leases', [])|length }}
DHCP clients connected
Services
{% for svc_name, svc in (services or {}).items() %}
{{ svc_name }}
{{ 'Running' if svc.get('running') else 'Stopped' }}
{% if svc.get('pid') %}PID {{ svc.pid }}{% endif %} {% if svc.get('since') %} ยท {{ svc.since }}{% endif %}
{% endfor %} {% if not (services or {}) %}
Firewalld
Running
Dnsmasq
Running
Nginx
Running
wg0
{{ 'Up' if (wg_status is defined and wg_status.get('up')) else 'Down' }}
{% endif %}
{% set warnings = [] %} {% if certs is defined %} {% for cert in certs %} {% if cert.get('days_until_expiry') is not none and cert.days_until_expiry < 0 %} {% set _ = warnings.append("Certificate for " + cert.get('domain', 'unknown') + " has expired") %} {% elif cert.get('days_until_expiry') is not none and cert.days_until_expiry <= 30 %} {% set _ = warnings.append("Certificate for " + cert.get('domain', 'unknown') + " expires in " + cert.days_until_expiry|string + " days") %} {% endif %} {% endfor %} {% endif %} {% if warnings|length > 0 or (services is defined) %}
Warnings & Activity
{% if warnings|length > 0 %} {% endif %} {% if not warnings and not (services or {}) %}
No warnings
{% endif %}
{% endif %} {% endblock %}