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

Audit complet serveurs

Applicatif + reseau + correlation — import JSON depuis le standalone

Exporter CSV 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
{{ kpis.disk_critical }}
Disque >= 90%
{{ kpis.disk_warning }}
Disque >= 80%
{{ kpis.uptime_long }}
Uptime > 4m
{% for key, label, icon in [ ('app_oracle','Oracle','db'),('app_postgres','PostgreSQL','db'),('app_mariadb','MariaDB/MySQL','db'),('app_hana','SAP HANA','db'), ('app_httpd','Apache','web'),('app_nginx','Nginx','web'),('app_haproxy','HAProxy','web'), ('app_tomcat','Tomcat','app'),('app_java','Java','app'),('app_nodejs','Node.js','app'), ('app_redis','Redis','db'),('app_mongodb','MongoDB','db'),('app_elastic','Elastic','db'),('app_container','Docker/Podman','app') ] %} {% set val = kpis[key]|default(0) %} {% if val > 0 %}
{{ val }}
{{ label }}
{% endif %} {% endfor %}
{% 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 {% if sort == 'hostname' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} OS Kernel Uptime {% if sort == 'uptime' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} Services Process Ports Conn Reboot {% if sort == 'reboot' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} Dernier patch {% if sort == 'patch' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} 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 %} {% if a.last_patch_date %}{{ a.last_patch_date }}{% elif a.last_patch_week %}{{ a.last_patch_week }} {{ a.last_patch_year }}{% else %}-{% 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 %}