{% extends 'base.html' %} {% block title %}Audit complet{% endblock %} {% block content %}

Audit complet serveurs

Applicatif + reseau + correlation — import JSON depuis le standalone

Carte flux
{% if msg %}
{% if msg.startswith('imported_') %} {% set parts = msg.split('_') %} {{ parts[1] }} serveur(s) importe(s){% if parts[2]|int > 0 %}, {{ parts[2] }} erreur(s){% endif %}. {% elif msg.startswith('error_') %}Erreur: {{ msg[6:] }}{% endif %}
{% endif %} {% if kpis %}
{{ kpis.total }}
Total
{{ kpis.needs_reboot }}
Reboot requis
{{ kpis.disk_critical }}
Disque >= 90%
{{ kpis.disk_warning }}
Disque >= 80%
{{ kpis.uptime_long }}
Uptime > 4 mois
{% if filter %}
Filtre actif : {{ filter }}Tout voir
{% endif %} {% endif %}
{% if filter %}{% endif %} {% if search or domain %}Reset{% endif %}
{{ total_filtered }} serveur(s)
{% if audits %}
{% for a in audits %} {% endfor %}
Hostname OS Kernel Uptime Services Process Ports Conn Reboot Date
{{ a.hostname }} {{ (a.os_release or '')[:30] }} {{ (a.kernel or '')[:25] }} {{ (a.uptime or '')[:20] }} {{ a.svc_count }} {{ a.proc_count }} {{ a.port_count }} {{ a.conn_count }} {% if a.reboot_required %}Oui{% else %}Non{% endif %} {{ a.audit_date.strftime('%d/%m %H:%M') if a.audit_date else '-' }}
{% if total_pages > 1 %}
Page {{ page }}/{{ total_pages }} ({{ total_filtered }} serveurs)
{% if page > 1 %} 1 {% if page > 2 %}<{% endif %} {% endif %} {{ page }} {% if page < total_pages %} > {{ total_pages }} {% endif %}
{% endif %} {% else %}

Aucun audit{% if search or domain or filter %} correspondant aux filtres{% endif %}.

{% if not search and not domain and not filter %}

Lancez le standalone sur vos serveurs puis importez le JSON ici.

{% endif %}
{% endif %} {% endblock %}