{% extends "admin/base_site.html" %} {% load i18n admin_static admin_list %} {# {% extends "admin/change_form.html" %} #} {% block extrastyle %} {{ block.super }} {% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block title %}Service status | NSMon{% endblock %} {% block content %}
{#

Status of service {{ object_id }}

#}

Status of service {{ service }}

{% if statussummary and qcounters and lasttest_items %}

Current Status

{{ statussummary.get_status_changed_to_display }} (unchanged for {{ statussummary.status_duration }}, since {{ statussummary.timestamp }})

Service Condition

{% for field in qcounters %} {% empty %} Unknown {% endfor %}
{{ field.label }} {{ field.value }} %

Last Test

{% for field in lasttest_items %} {% empty %} There's no TestResult record for this service yet. Make sure it has Testing Plan configured. {% endfor %}
{{ field.label }} {{ field.value }}

Latency chart

Condition chart

{% else %} {# Some of required context variables are None #}
There's no TestResult record for this service yet. Make sure it has Testing Plan configured. {% endif %} {% endblock %}