{% extends "base1.html" %} {% load adagiostags %} {% block title %}Dashboard{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block titlebar %} {% endblock %} {% block maincontent %}
Tactical Overview Total Problems Unhandled
Network Parents {{ total_network_parents }}
{{ total_network_problems }}
{% if total_unhandled_network_problems == 0 %}
{{ total_unhandled_network_problems }}
{% else %}
{{ total_unhandled_network_problems }}
{% endif %}
Hosts {{ total_hosts }}
{{ total_host_problems }}
{% if host_problems|length == 0 %}
{{ host_problems|length }}
{% else %}
{{ host_problems|length }}
{% endif %}
Services {{ total_services }}
{{ total_service_problems }}
{% if service_problems|length == 0 %}
{{ service_problems|length }}
{% else %}
{{ service_problems|length }}
{% endif %}

Current Health

All hosts
{{ host_totals_percent.0|floatformat }}%
All services
{{ service_totals_percent.0|floatformat }}%
{% if host_problems %}

Unhandled Host Problems

{% include "snippets/status_hostlist_snippet.html" %} {% else %}

There are no unhandled host problems.

{% endif %}
{% if service_problems%}

Unhandled Service Problems

{% for i in service_problems %} {% if i.state == 0 %}{% endif %} {% if i.state == 1 %}{% endif %} {% if i.state == 2 %}{% endif %} {% if i.state == 3 %}{% endif %} {% endfor %}
Host Service Output Duration 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' }}
{% if log %}

Last {{ log|length }} alerts:

{% for line in log %} {% endfor %}
{{ line.time|timestamp|date:'Y-m-d H:i' }}
{{ line.host_name }}
{{ line.plugin_output }}
{% endif %}
{% else %}

There are no unhandled service problems

{% endif %}
{% endblock %}