{% extends "base.html" %} {% load url from future %} {% load adagiostags %} {% load i18n %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block toolbar %}{% endblock %} {% block page_header %}{% endblock %} {% block page_footer %}{% endblock %} {% block left_sidebar %}{% endblock %} {% block page_content %}
{% trans "Tactical Overview" %} | {% trans "Total" %} | {% trans "Problems" %} | {% trans "Unhandled" %} |
---|---|---|---|
{% trans "Network Parents" %} | {{ total_network_parents }} |
{{ total_network_problems }}
|
{% if total_unhandled_network_problems == 0 %}
{{ total_unhandled_network_problems }}
{% else %}
{{ total_unhandled_network_problems }}
{% endif %}
|
{% trans "Hosts" %} | {{ total_hosts }} |
{{ total_host_problems }}
|
{% if host_problems|length == 0 %}
{{ host_problems|length }}
{% else %}
{{ host_problems|length }}
{% endif %}
|
{% trans "Services" %} | {{ total_services }} |
{{ total_service_problems }}
|
{% if service_problems|length == 0 %}
{{ service_problems|length }}
{% else %}
{{ service_problems|length }}
{% endif %}
|
{% trans "Current Health" %} |
|
{% trans "All hosts" %} |
|
---|---|
{% trans "All services" %} |
|
{% trans "Host" %} | {% trans "Service" %} | {% trans "Output" %} | {% trans "Duration" %} | {% trans "Last Check" %} |
---|---|---|---|---|
{{ i.host_name }} | {{ i.description }} | {{ i.plugin_output|slice:"70" }} | {{ i.last_state_change|timestamp|timesince }} | {{ i.last_check|timestamp|date:'Y-m-d H:i' }} |