{% load adagiostags %} {% for row in hosts %} {% if row.last_check == 0 %} {% endif %} {% if row.last_check != 0 and row.state == 0 %} {% endif %} {% if row.last_check != 0 and row.state > 0 %} {% endif %} {% for i in row.services_with_info %} {% endfor %} {% endfor %}
Host Name Address Last Check Host Status Service Status
{{ row.name }} {{ row.address }} {{ row.last_check|timestamp|timesince }} ago PendingHost UP{% if row.childs %}Network outage {% else %}Host Down {% endif %}
{{i.0 }} - {{ i.3 }}