{% load thresholds %} {% with port_metrics|find_rules|dictsort:"suffix" as metrics %} {% if metrics|length %} {% for metric in metrics %} {% endfor %} {% elif graphite_error %}
Unable to get a response from Graphite!
{% else %}
No metrics for this interface
{% endif %} {% endwith %}