{% from "_log_entry.html" import log_entry %} {%- if many %} {%- set ok_count = results|selectattr('ok')|list|length -%} {%- set fail_count = results|length - ok_count -%} {%- if fail_count %} {%- set summary = '' ~ fail_count ~ ' fail ' ~ ok_count ~ ' ok' -%} {%- else %} {%- set summary = '' ~ ok_count ~ ' probed' -%} {%- endif %} {% call log_entry("Probe", timestamp, summary) %} {% for r in results %} {% endfor %}
guidstatusdetails
{{ r.guid }} {% if r.ok %}ok{% else %}fail{% endif %} {{ r.message }}
{% endcall %} {%- else %} {%- if result.ok %} {%- set summary = 'ok ' ~ result.guid ~ '' -%} {%- else %} {%- set summary = 'fail ' ~ result.guid ~ '' -%} {%- endif %} {% call log_entry("Probe", timestamp, summary) %}

{{ result.message }}

{% endcall %} {%- endif %}