{% extends 'base.html' %} {% block title %}Audit Serveurs{% endblock %} {% block content %}
{% if last_audit and last_audit.last_date %} Dernier audit : {{ last_audit.last_date.strftime('%d/%m/%Y à %H:%M') }} — {{ last_audit.count }} serveurs {% else %}Aucun audit réalisé{% endif %}
| Hostname | Statut | Connexion | Kernel | Uptime | Disque | Qualys | S1 | Sans auto | Svc KO | Detail |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ e.hostname }} | {{ e.status[:10] }} | {% if e.resolved_fqdn %}{{ e.resolved_fqdn[:25] }}{% else %}-{% endif %} | {{ (e.kernel or '-')[:20] }} | {{ (e.uptime or '-')[:15] }} | {% if e.disk_alert %}ALERTE {% elif e.status == 'OK' %}OK {% else %}-{% endif %} | {% if e.qualys_active %}OK{% else %}KO{% endif %} | {% if e.sentinelone_active %}OK{% else %}KO{% endif %} | {% if e.running_not_enabled %}{{ e.running_not_enabled.split('\n')|length }}{% else %}-{% endif %} | {% if e.failed_services %}{{ e.failed_services[:20] }}{% else %}-{% endif %} |