{% extends 'admin/master.html' %} {% block body %}
This rule is rendered per host: which Checkmk rule it creates depends on the host. Open the host debug page, pick a host, and the rule is shown as rendered for that host.
Open host debug with this ruleRendered from its pasted list, exactly like checkmk export_rules does,
but without contacting Checkmk. Run checkmk export_rules <account> --dry-run
to compare it with what Checkmk has.
No rule: every row renders an empty Value or condition, or the list is not valid.
{% endif %} {% for ruleset, rules in preview.rules.items() %}{{ ruleset }}| Folder | Value | Conditions |
|---|---|---|
{{ r.folder }} |
{{ r.value }} |
{% for key, cond in r.condition.items() if cond %}{{ key }}: {{ cond }}
{% endfor %} |
"Rules" counts the Checkmk rules a row produced over all outcomes, before rows are joined. 0 means the row's Value, service or host name condition rendered empty.
| row_idx | Rules | {% for name in parsed.columns %}{{ '{{ ' ~ name ~ ' }}' }} | {% endfor %}
|---|---|---|
| {{ loop.index0 }} | {{ count }} | {% for name in parsed.columns %}{{ row[name] }} | {% endfor %}