{% extends "base.html" %}
{% load adagiostags %}
{% block title %}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 %}
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" with hosts=host_problems%}
{% else %}
There are no unhandled host problems.
{% endif %}
{% if service_problems%}
Unhandled Service Problems
Host |
Service |
Output |
Duration |
Last Check |
{% 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 %}
{{ 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' }} |
{% endfor %}
{% else %}
There are no unhandled service problems
{% endif %}
{% endblock %}
{% block footer %}
{{ block.super }}
{% endblock footer %}