{% extends 'admin/master.html' %} {% macro attr_value(value) -%} {%- if value is mapping -%} {%- elif value is iterable and value is not string -%} {{ value|join(', ') }} {%- else -%} {{ value }} {%- endif -%} {%- endmacro %} {% block body %}

Checkmk Folders and Folder Options

The folders the host export of the chosen account would use, the hosts landing in each of them and the folder options (contact groups, title, tags, ...) the export merges from those hosts. Calculated from the rules and hosts of the syncer: Checkmk is not asked, no pool seat is taken or freed and nothing is saved. A host waiting for its first pool folder shows up where it is without one. Documentation

With an account its host selection applies as in its export (object filter, limits, Projects, folder scope).
{% if error %}
{{ error }}
{% endif %} {% if calculated and not error %}

{{ rows|length }} folder(s).

{% for row in rows %} {% endfor %}
Folder Hosts Folder options sent to Checkmk
{{ row.name }} {% if row.hosts %}
{{ row.hosts|length }} here
    {% for host in row.hosts %}
  • {{ host }}
  • {% endfor %}
{% else %} 0 here {% endif %} {% if row.total_hosts != row.hosts|length %} {{ row.total_hosts }} with sub-folders {% endif %} {% if row.hidden_hosts %} (+{{ row.hidden_hosts }} outside your scope) {% endif %}
{% if row.attributes %} {{ attr_value(row.attributes) }} {% else %} none {% endif %} {% if row.contributions|selectattr('error')|list %} broken option {% endif %} Debug
{% endif %}
{% endblock %}