{% extends 'base/layout.html' %} {% load i18n %} {% load static %} {% load wug_filters %} {% block title %}WhatsUp Gold Sync Dashboard{% endblock %} {% block content %}

{% trans "Sync Dashboard" %}

{{ connections|length }}

Active Connections

{% if connections %} Online {% else %} None configured {% endif %}
{{ synced_devices }}

Synced Devices

{% if synced_devices > 0 %} Synchronized {% else %} No devices synced {% endif %}
{{ pending_devices }}

Pending Sync

{% if pending_devices > 0 %} Awaiting sync {% else %} Up to date {% endif %}
{{ error_devices }}

Sync Errors

{% if error_devices > 0 %} Needs attention {% else %} No errors {% endif %}
Active Connections
Add Connection
{% if connections %}
{% for connection in connections %} {% endfor %}
Connection Status Last Sync Devices Actions
{{ connection.name }}
{{ connection.host }}:{{ connection.port }}
{% if connection.is_active %} Active {% else %} Inactive {% endif %} {% if connection.last_sync %} {{ connection.last_sync|timesince }} ago {% else %} Never synced {% endif %} {{ connection.devices.count }} devices
{% else %}
No WhatsUp Gold Connections

Get started by adding your first WhatsUp Gold server connection.

Add First Connection
{% endif %}
Recent Sync Activity
View All Logs
{% if recent_logs %}
{% for log in recent_logs %} {% endfor %}
Connection Type Status Started Duration Results Success Rate
{{ log.connection.name }} {{ log.sync_type|capfirst }} {% if log.status == 'completed' %} {{ log.status|capfirst }} {% elif log.status == 'running' %} {{ log.status|capfirst }} {% elif log.status == 'failed' %} {{ log.status|capfirst }} {% else %} {{ log.status|capfirst }} {% endif %} {{ log.start_time|timesince }} ago {% if log.duration %} {{ log.duration|format_duration }} {% else %} - {% endif %}
{{ log.devices_discovered }} discovered
{{ log.devices_created }} created
{{ log.devices_updated }} updated
{{ log.success_rate|floatformat:1 }}%
{% else %}
No Sync Activity

No sync operations have been performed yet. Start by testing a connection or triggering a sync.

{% if connections %} {% endif %}
{% endif %}
{% csrf_token %} {% endblock %}