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