{% extends 'generic/object.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block extra_controls %} {% if can_sync %}
{% csrf_token %}
{% endif %} {% endblock %} {% block content %} {% if tls_off %}
TLS certificate verification is turned off for endpoint {{ object.endpoint }}.
{% endif %}

Percepxion source

{% if object.backoff_until %}{% endif %}
Name{{ object.name }}
Endpoint{{ object.endpoint }}
Organization ID{{ object.organization_id }}
Enabled{% checkmark object.enabled %}
New devices{{ object.site|linkify }} / {{ object.role|linkify }}
Schedule{% if object.sync_interval %}Every {{ object.sync_interval }} min{% if next_job %}, next {{ next_job.scheduled|isodatetime }}{% endif %}{% else %}Off{% endif %}
SSH base port{{ object.ssh_base_port }}
"Open in Percepxion"{% checkmark object.percepxion_link %}
Login backoff until{{ object.backoff_until|isodatetime }}
{% include 'inc/panels/tags.html' %}

Last run

{% if last_job %} {% if last_job.error %}{% endif %} {% with d=last_job.data %}{% if d.devices %} {% endif %}{% endwith %}
Job{{ last_job|linkify }} {% badge last_job.get_status_display bg_color=last_job.get_status_color %}
Started{{ last_job.started|isodatetime }}
Completed{{ last_job.completed|isodatetime|placeholder }}
Error{{ last_job.error }}
Devices{{ d.devices.created }} created, {{ d.devices.updated }} updated, {{ d.devices.unchanged }} unchanged, {{ d.devices.pending }} pending
Ports{{ d.ports.updated }} updated, {{ d.ports.unchanged }} unchanged
Facts{{ d.facts.updated }} updated
{% else %}
No runs yet.
{% endif %}

Findings from the last run

{% render_table findings_table 'inc/table.html' %}
{% endblock %}