{% extends 'base.html' %} {% block title %}{{ a.hostname }}{% endblock %} {% block content %} < Retour

{{ a.hostname }}

{{ a.os_release }} | {{ a.kernel }} | {{ a.uptime }}

{% 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 %}
{% for s in services %}{% endfor %}
ServiceEnabledPIDUserExec
{{ s.name }} {{ s.enabled }} {{ s.pid }} {{ s.user }} {{ s.exec[:80] }}
{% for p in processes %}{% endfor %}
PIDUserExeCWDCmdlineRestart
{{ p.pid }} {{ p.user }} {{ (p.exe or '')[:40] }} {{ (p.cwd or '')[:30] }} {{ (p.cmdline or '')[:60] }} {{ (p.restart_hint or '')[:60] }}
{% for lp in listen_ports %}{% endfor %}
ProtoAddr:PortPIDProcessUserService
{{ lp.proto }} {{ lp.addr_port }} {{ lp.pid }} {{ lp.process }} {{ lp.user }} {{ lp.service }}
{% for c in connections %}{% endfor %}
DirLocalRemotePIDProcessUserState
{{ c.direction }} {{ c.local }} {{ c.remote }} {{ c.pid }} {{ c.process }} {{ c.user }} {{ c.state }}
{% if flux_in %}
Flux entrants
{% for f in flux_in %}{% endfor %}
PortServiceProcessNbSources
{{ f.port }} {{ f.service }} {{ f.process }} {{ f.count }} {{ f.sources }}
{% endif %} {% if flux_out %}
Flux sortants
{% for f in flux_out %}{% endfor %}
DestinationPortServiceProcessNb
{{ f.dest_ip }} {{ f.dest_port }} {{ f.service }} {{ f.process }} {{ f.count }}
{% endif %} {% if flows %}
Carte flux (resolu)
{% for f in flows %}{% endfor %}
DirIP destPortServeur destProcessState
{{ f.direction }} {{ f.dest_ip }} {{ f.dest_port }} {{ f.dest_hostname or '-' }} {{ f.process_name }} {{ f.state }}
{% endif %}
{% for d in disk_usage %}{% endfor %}
MountTailleUtiliseDispo%
{{ d.mount }} {{ d.size }} {{ d.used }} {{ d.avail }} {{ d.pct }}%
{% if firewall.policy %}
Policy iptables : {% for chain, pol in firewall.policy.items() %} {{ chain }}={{ pol or '?' }} {% endfor %}
{% endif %} {% if firewall.firewalld %}
Firewalld : {% for z in firewall.firewalld %}
Zone {{ z.zone }} : services={{ z.services }} ports={{ z.ports }}
{% endfor %}
{% endif %} {% if conn_wait %}
Connexions en attente : {% for cw in conn_wait %} {{ cw.state }}={{ cw.count }} {% endfor %}
{% endif %}
{% if correlation %}
Matrice process / ports / flux
{% for c in correlation %}{% endfor %}
ProcessUserPIDPortsINOUTDestinations
{{ c.process }} {{ c.user }} {{ c.pid }} {{ c.listen_ports }} {{ c.conn_in }} {{ c.conn_out }} {{ c.remote_dests }}
{% endif %} {% if outbound %}
Process sortants uniquement
{% for o in outbound %}{% endfor %}
ProcessUserPIDDestinations
{{ o.process }} {{ o.user }} {{ o.pid }} {{ o.dests }}
{% endif %}
{% endblock %}