{% extends "base.html" %}{% set active = 'dashboard' %} {% block content %}

Dashboard

Devices online
{{ devices_online }} of {{ devices_total }} known
{% if spark %}{% set lx, ly = (spark.points.split(' ') | last).split(',') %} {# The line is scaled between its own minimum and maximum, so it shows the trend only; the range is stated in words underneath and in the accessible name. #}
Last 7 days: {{ spark.min }}–{{ spark.max }} online over {{ spark.n }} rounds
{% else %}
A trend line appears after a few discovery rounds.
{% endif %}
Open findings
{{ findings_total }}
{% if findings_total %} {% else %}
Nothing open.
{% endif %}
Last scans
{% for kind, snap in snapshots.items() %}
{{ kind | capitalize }}
{% if snap %}{{ snap.finished_at | local }} · {{ snap.host_count }} hosts{% else %}never{% endif %}
{% endfor %}
{% if ups %}{% include "_ups_tile.html" %}{% endif %} {% if latency %}
Latency to {{ latency.target }}
{% if latency.last_ms is not none %}{{ latency.last_ms | round(1) }} ms{% else %}no reply{% endif %}
{% if latency.spark %}{% set lx, ly = (latency.spark.points.split(' ') | last).split(',') %} {% endif %}
Last 24 h: {% if latency.min_ms is not none %}{{ latency.min_ms | round(1) }}–{{ latency.max_ms | round(1) }} ms, {% endif %}{% if latency.loss_rounds %}loss in {{ latency.loss_rounds }} of {{ latency.rounds }} rounds{% else %}no loss in {{ latency.rounds }} rounds{% endif %}
{% endif %}
Infrastructure
DHCP
{{ infra_summary.dhcp | join(', ') if infra_summary.dhcp else 'not probed' }}
UPnP gateway
{{ 'yes' if infra_summary.igd else 'no' }}
Forwards
{% if infra_summary.mappings %}{{ infra_summary.mappings }} port mapping{{ 's' if infra_summary.mappings != 1 }}{% else %}none{% endif %}
{% if digest %}
Digest {{ digest[0] }} · all digests
{{ digest[1] }}
{% endif %}

Open findings{% if findings_total > findings|length %} (top {{ findings|length }} of {{ findings_total }}){% endif %}

{% if findings %}
{% set back = '/' %}{% include "_finding_rows.html" %}
SeverityKindFindingDeviceSinceStatusAction
{% else %}

No open findings.

{% endif %}

Recent events timeline

{% if events %}
{% for e in events %}{% endfor %}
TimeKindEvent
{{ e.ts | local }}{{ e.kind }} {{ e.summary }}{% set d = devices_by_id.get(e.device_id) %}{% if d %} #{{ d.id }}{% endif %}
{% else %}

None yet.

{% endif %}

New devices, last 7 days

{% if recent %}
{% for d in recent %}{% endfor %}
First seenDeviceIPMACVendor
{{ d.first_seen | local }}{{ d.label }} {{ d.ip or '-' }}{{ d.mac or '-' }}{{ d.vendor or '-' }}
{% else %}

None.

{% endif %} {% endblock %}