{% extends "pages/main.html" %} {% load staticfiles %} {% block title %} Monitors {% endblock %} {% block container %}

Monitors list

{# #} {% for m in monitors %} {% endfor %}
id Name target location Control Formula Status ResultActionViolations Audits
{{ m.id }} {{ m.name}} {{ m.target.name }} {{ m.location }} {{ m.control_type.name }}
{% if m.formula|length > 10 %} {{ m.formula|slice:":10" }}... {% else %} {{ m.formula }} {% endif %}
{% if m.enabled|stringformat:"s" == "True" %} Running... {% else %} Stopped {% endif %} {% if m.mon.last|stringformat:"s" == "?" %} {% elif m.mon.last|stringformat:"s" == "⊥" %} {% else %} {% endif %} {{ m.mon.last }}
{{ m.violations|length }}
{% if m.liveness != None and m.is_liveness_expired != False %} {% endif %}
{{ m.audits|length }}
{% endblock %}