{% load thresholds %} {% with port_metrics|find_rules|dictsort:"suffix" as metrics %} {% if metrics|length %}
Metric | Threshold | |
---|---|---|
{{ metric.suffix }} | {% if metric.thresholds %} {% for rule in metric.thresholds %} {{ rule.alert }} {% if not forloop.last %},{% endif %} {% endfor %} {% else %} – {% endif %} | Add |