{% extends "base.html" %} {% block title %}Needs attention{% endblock %} {% block content %} {% set thor = d.thor %}

Needs attention

Incidents {{ d.incidents | length }}

{% if d.incidents %}
    {% for i in d.incidents %}
  • P{{ i.priority }} {{ i.summary }}

    {{ i.state }}{% if i.mode != 'live' %}, shadow (not sent){% elif i.ticket_id %}, ticket #{{ i.ticket_id }}{% endif %} · first seen {{ i.first_seen | ago }} {% if i.symptoms %}· {{ i.symptoms }} also seen{% endif %}

  • {% endfor %}
{% else %}

No open incidents.

{% endif %}

Thor itself

    {% if thor.stale %}
  • The monitor loop has not finished a good cycle recently.
  • {% endif %} {% for s in thor.sources %}
  • {{ s.label }}: {% if s.up %}answering{% else %}blind since {{ s.since | hm }}{% endif %} {% if not s.up and s.last_error %}

    {{ s.last_error }}

    {% endif %}
  • {% endfor %} {% if thor.last_cycle.catching_up %}
  • Catching up after being away: reviewing from {{ thor.last_cycle.window_start | hm }}.
  • {% endif %}
{% if d.timeline %}

On the timeline only {{ d.timeline | length }}

    {% for i in d.timeline %}
  • {{ i.summary }}

    no ticket by design · {{ i.symptoms }} thing(s) filed under it

  • {% endfor %}
{% endif %} {% if d.known_hits %}

Known conditions seen again

    {% for i in d.known_hits %}
  • {{ i.summary }}

    note on #{{ i.known_ticket }} · {{ i.first_seen | ago }}

  • {% endfor %}
{% endif %} {% if d.loose %}

Unexplained in the last hour {{ d.loose | length }}

    {% for o in d.loose %}
  • {{ o.summary }}

    {{ o.first_seen | hm }} to {{ o.last_seen | hm }} · nothing explains it yet; no ticket

  • {% endfor %}
{% endif %}
{% if d.recent %}

Last 7 days

{% for i in d.recent %} {% endfor %}
PriorityIncidentFirst seenClearedTicket
P{{ i.priority }} {{ i.summary }} {{ i.first_seen | utc('%m-%d %H:%M') }} {{ i.cleared_at | utc('%m-%d %H:%M') if i.cleared_at else '' }} {% if i.ticket_id %}#{{ i.ticket_id }}{% elif i.mode != 'live' %}shadow{% endif %}
{% endif %} {% endblock %}