{% extends "base.html" %} {% block title %}{{ enr.display_name }} | Instalação | GTI Fiscal{% endblock %} {% block content %}

DISTRIBUIÇÃO DO AGENT

{{ enr.display_name }}

{{ tenant.name if tenant else "Cliente não encontrado" }} · release {{ release.version if release else "?" }}

{{ enr.status }}
{% if download_link %}

Link temporário gerado

Mostrado uma única vez, uso único, expira em pouco tempo. Copie agora — ele não pode ser recuperado depois.

{{ download_link }}

{% endif %}

Detalhes

{% if installed_agent %} {% endif %}
Cliente{{ tenant.name if tenant else "-" }}
Nome{{ enr.display_name }}
Hostname esperado{{ enr.expected_hostname or "não informado" }}
Versão do Agent{{ release.version if release else "-" }} ({{ release.platform if release else "" }}/{{ release.architecture if release else "" }})
Status{{ enr.status }}{% if enr.hostname_mismatch %} hostname divergente{% endif %}
Criada em{{ enr.created_at }}
Baixada em{{ enr.downloaded_at or "ainda não" }}
Hostname visto{{ enr.hostname_seen or "-" }}
Agent#{{ installed_agent.id }} · {{ "ativo" if installed_agent.enabled else "desativado" }} · último heartbeat: {{ installed_agent.last_seen_at or "nenhum ainda" }}

Ações

{% if enr.status not in ("ENROLLED", "REVOKED") %}
Baixar Agent agora {% endif %} {% if enr.status != "REVOKED" %}
{% endif %} {% if enr.status == "ENROLLED" and installed_agent %} Ver Agent {% endif %}
{% endblock %}