{% for iface in interfaces %}{% if iface.ip != '127.0.0.1' %}
{{ iface.ip }}{{ iface.mask }} ({{ iface.iface }})
{% endif %}{% endfor %}
{{ services|length }}
Services
{{ processes|length }}
Process
{{ listen_ports|length }}
Ports
{{ connections|length }}
Connexions
{% if a.reboot_required %}Oui{% else %}Non{% endif %}
Reboot
{% if a.services_failed %}KO{% else %}OK{% endif %}
Failed svc
{% for t, label in [('services','Services'),('processes','Processus'),('ports','Ports'),('connections','Connexions'),('flux','Flux'),('disk','Disque'),('firewall','Firewall'),('correlation','Correlation')] %}
{% endfor %}
Service
Enabled
PID
User
Exec
{% for s in services %}
{{ s.name }}
{{ s.enabled }}
{{ s.pid }}
{{ s.user }}
{{ s.exec[:80] }}
{% endfor %}
PID
User
Exe
CWD
Cmdline
Restart
{% for p in processes %}
{{ p.pid }}
{{ p.user }}
{{ p.exe or '' }}
{{ p.cwd or '' }}
{{ p.cmdline or '' }}
{{ p.restart_hint or '' }}
{% endfor %}
Proto
Addr:Port
PID
Process
User
Service
{% for lp in listen_ports %}
{{ lp.proto }}
{{ lp.addr_port }}
{{ lp.pid }}
{{ lp.process }}
{{ lp.user }}
{{ lp.service }}
{% endfor %}
Dir
Local
Remote
PID
Process
User
State
{% for c in connections %}
{{ c.direction }}
{{ c.local }}
{{ c.remote }}
{{ c.pid }}
{{ c.process }}
{{ c.user }}
{{ c.state }}
{% endfor %}
{% if flux_in %}
Flux entrants
Port
Service
Process
Nb
Sources
{% for f in flux_in %}
{{ f.port }}
{{ f.service }}
{{ f.process }}
{{ f.count }}
{{ f.sources }}
{% endfor %}
{% endif %}
{% if flux_out %}
Flux sortants
Destination
Port
Service
Process
Nb
{% for f in flux_out %}
{{ f.dest_ip }}
{{ f.dest_port }}
{{ f.service }}
{{ f.process }}
{{ f.count }}
{% endfor %}
{% endif %}
{% if flows %}
Carte flux (resolu)
Dir
IP dest
Port
Serveur dest
Process
State
{% for f in flows %}
{{ f.direction }}
{{ f.dest_ip }}
{{ f.dest_port }}
{{ f.dest_hostname or '-' }}
{{ f.process_name }}
{{ f.state }}
{% endfor %}
{% endif %}
Mount
Taille
Utilise
Dispo
%
{% for d in disk_usage %}
{{ d.mount }}
{{ d.size }}
{{ d.used }}
{{ d.avail }}
{{ d.pct }}%
{% endfor %}
{% if firewall.policy %}
Policy iptables :
{% for chain, pol in firewall.policy.items() %}
{{ chain }}={{ pol or '?' }}
{% endfor %}