Do not sort |
Sort by status |
Refresh
{% set down = [] %}
{% set up = [] %}
{% set dis = [] %}
{% for s in smon %}
{% if s.en == 1 %}
{% if s.status == 1 and s.http_status == 1 and s.body_status == 1 %}
{% if up.append('1') %} {% endif %}
{% else %}
{% if down.append('1') %} {% endif %}
{% endif %}
{% else %}
{% if dis.append(s.group) %} {% endif %}
{% endif %}
{% endfor %}
Status summary: UP: {{up|length}}, DOWN: {{down|length}}, Disabled: {{dis|length}}
{% set group = [] %}
{% set group_prev = [] %}
{%- for s in smon -%}
{% if s.group %}
{% if s.group not in group %}