{% extends "base.html" %} {# Info tooltip macro #} {% macro info_tooltip(text, position='right') %}
View and manage diagnostic collection jobs
| Job | Hosts Included{{ info_tooltip("MySQL hosts that were selected for this collection job.") }} | Created | Status{{ info_tooltip("Pending: Queued. Running: Active collection. Completed: All hosts done. Failed: One or more hosts failed.") }} | Progress{{ info_tooltip("✓ = successful collection. ✗ = failed (connection error, timeout, etc).") }} | Actions |
|---|---|---|---|---|---|
|
{% if item.job.name %}
{{ item.job.name }}
{{ item.job.id[:6] }}
{% else %}
{{ item.job.id[:6] }}
{% endif %}
|
{% for label in item.host_labels %}
{{ label }}
{% endfor %}
|
{{ item.job.created_at.strftime('%Y-%m-%d %H:%M:%S') }} | {% if item.job.status.value == 'pending' %} Pending {% elif item.job.status.value == 'running' %} Running {% elif item.job.status.value == 'completed' %} Completed {% elif item.job.status.value == 'failed' %} Failed {% endif %} |
{% if item.completed_count > 0 %}
{{ item.completed_count }}
{% endif %}
{% if item.failed_count > 0 %}
{{ item.failed_count }}
{% endif %}
{% if item.completed_count == 0 and item.failed_count == 0 %}
—
{% endif %}
|
View
{% if item.job.status.value in ['completed', 'failed'] %}
{% endif %}
|