{% extends 'base.html' %} {% load extra %} {% load static from staticfiles %} {% block title %}{{ block.super }} - {{ service.name }}{% endblock title %} {% block content %}

{{ service.name }}

{{ service.overall_status|lower|capfirst }} {% if service.alerts_enabled %}Alerts enabled{% else %}Alerts disabled{% endif %}

{% if service.overall_status != service.PASSING_STATUS %}
{% if service.unexpired_acknowledgement %}
{{ service.unexpired_acknowledgement.user.email }} acknowledged an alert against this service at {{ service.unexpired_acknowledgement.time }} - alerts are currently paused. The acknowledgement will expire at {{ service.unexpired_acknowledgement.expires }}
{% else %}
By acknowledging this failure you will pause alerts temporarily from being sent to your alerting systems. If you do not resolve the problem within {% echo_setting 'ACKNOWLEDGEMENT_EXPIRY' %} minutes, or you cancel the acknowledgement, alerts will start firing again.
{% endif %}
{% endif %}

Configuration

Service URL
{{ service.url|urlize|default:"None configured" }}
Users watching
{% if not service.users_to_notify.all %} No users subscribed {% else %} {{ service.users_to_notify.all|join:", " }} {% endif %}
Alert types
{% for alert in service.alerts.all %} {{ alert }} {% endfor %}

Status (24 hours)

Instances

{% include 'cabotapp/_instance_list.html' with instances=service.instances.all %}

{% include 'cabotapp/_statuscheck_list.html' with checks=service.graphite_status_checks.all service=service checks_type="Graphite" %}
{% include 'cabotapp/_statuscheck_list.html' with checks=service.http_status_checks.all service=service checks_type="Http" %}
{% include 'cabotapp/_statuscheck_list.html' with checks=service.jenkins_status_checks.all service=service checks_type="Jenkins" %}

Status check report

{{ report_form.service }}
{{ report_form.checks }}
{{ report_form.date_from }}
{{ report_form.date_to }}

Documentation

{% if service.runbook_link %} {% else %}
No runbook link configured
{% endif %} {% if service.hackpad_id %} {% else %}
No embedded recovery instructions configured
{% endif %}
{% endblock content %} {% block js %} {% load compress %} {% load jsonify %} {{ block.super }} {% compress js %} {% endcompress %} {% endblock js %}