{% extends "base_status.html" %} {% block title %}Status Log{% endblock %} {% block smallheader %}{% endblock %} {% block largeheader %}Status Log{% endblock %} {% block nav1 %}{{ block.super }}{% endblock %} {% block nav2 %}Log{% endblock %} {% load adagiostags %} {% block content %}
 
 To 
 
Last {{ logs.alerts|length }} state changes: {% for line in logs.alerts %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Host Service Message
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.host_name }} {{ line.service_description }}
{{ line.text }}
Last {{ logs.notification|length }} notifications: {% for line in logs.notification %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Contact Host Service Message
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.contact_name }} {{ line.host_name }} {{ line.service_description }}
{{ line.text }}
Last {{ logs.flapping|length }} Flapping alerts: {% for line in logs.flapping %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Message
{{ line.time|timestamp|date:'Y-m-d H:i' }}
{{ line.text }}
Last {{ logs.warning|length }} Warnings: {% for line in logs.warning %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Message
{{ line.time|timestamp|date:'Y-m-d H:i' }}
{{ line.text }}
Last {{ logs.command|length }} External commands: {% for line in logs.command %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Command Message
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.command_name }}
{{ line.text }}
Last {{ logs.passive|length }} passive check results: {% for line in logs.passive %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Host Service Message
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.host_name }} {{ line.service_description }}
{{ line.text }}
Last {{ logs.unclassified|length }} misc entries: {% for line in logs.unclassified %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Message
{{ line.time|timestamp|date:'Y-m-d H:i' }}
{{ line.options }}
Last {{ logs.all|length }} log entries: {% for line in logs.all %} {% ifchanged line.time|timestamp|date:"Y-m-d" %} {% endifchanged %} {% endfor %}
Time Type Message
{{ line.time|timestamp|date:'Y-m-d H:i' }} {{ line.type }}
{{ line.options }}
{% endblock %} {% block toolbar %} {% endblock %} {% block footer %} {{ block.super }} {% endblock %}