{# Connection check (Hani #1 2026-10-26): why monitoring cannot connect - evidence, the cause, and the fix in one place. #} {% if connection_available %}{% set cc = connection %}

Connection check

Finds out, without signing in, why NEXXVU cannot reach {{ integration.name }}: ping, port {{ integration.port }}, the SSH banner, the host key against the approved one, and a TCP trace along the path the monitoring takes. Only the approved address is contacted.

{% if can('connection-check') %}
{% endif %}
{% if cc %} {% if cc.conclusion %}
{{ 'What is wrong' if cc.failed else 'Result' }}: {{ cc.conclusion }}
{% elif not cc.failed %}
Everything NEXXVU can check from here works.
{% endif %} {% if cc.findings %}{% endif %} {% if cc.result and cc.result.trace %}
TCP trace to {{ cc.result.address }}:{{ cc.result.port }} ({{ cc.result.trace|length }} hops)
{% for h in cc.result.trace %}{% endfor %}
HopAnswered fromTimeAnswer
{{ h.ttl }}{{ h.address or '*' }}{{ (h.ms ~ ' ms') if h.ms is not none else '—' }}{{ {'time exceeded': 'router on the way', 'open': 'the device: port open', 'refused': 'the device: port closed', 'no answer': 'silent (filtered, or a router that does not answer)'}.get(h.result, h.result) }}

Each router on the way answers when the connection's lifetime runs out there. Where the answers stop before the device, a firewall drops the connection. Some routers never answer (a single * between answers is normal).

{% endif %} {% if cc.fix == 'replace_key' %}

Replace the approved SSH key

First check the new key on the device itself (its console, or the hypervisor's), not over the network. On Ubuntu: ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub; on MikroTik: /ip ssh print. It must show one of: {% for p in cc.presented %}{{ p }}{{ ', ' if not loop.last }}{% endfor %}.

{% if can('replace-key') %}

NEXXVU withdraws the old approval (the Portal restarts once), observes the device's new key and asks for its approval; you approve it under Approved destination after comparing the fingerprint. Monitoring then resumes with the new key.

{% else %}

A Portal administrator replaces the approved key.

{% endif %}
{% elif cc.fix == 'account' %}

Validate again {% if linked_assets %}Set up the monitoring account again (Tools){% endif %}

{% elif cc.fix == 'request' %}

Request the approval

{% endif %}

Checked {{ cc.at[:16]|replace('T', ' ') }} UTC. The result is also kept in the device log.

{% endif %}
{% endif %}