{% load helpers %}
| State | {% if binding %}{{ binding.get_state_display }} {% else %}not computed yet{% endif %} |
|---|---|
| Instance | {{ instance|linkify|placeholder }} |
| Host name | {% if checkmk_url %}{{ binding.host_name }}{% else %}{{ binding.host_name|placeholder }}{% endif %} |
| Folder | {{ binding.folder|placeholder }} |
| Pending change | {% include 'netbox_checkmk_sync/inc/diff.html' with diff=binding.pending %}
{% if binding.authors %} by {{ binding.authors|join:", " }} {% endif %} |
| Messages | {% for m in binding.messages %} {{ m }} {% endfor %} |
| Tag groups | {% for t in effective.tags %}{{ t.group }} = {{ t.value|default:"—" }} ({{ t.origin|default:"none" }}) |
| Teams | {{ effective.teams|join:", " }} |
| Labels | {% for k, v in effective.labels.items %}{{ k }}:{{ v }} {% endfor %} |
| Monitoring status | Checkmk tab (netbox-checkmk) |
| Reserved | by {{ reservation.user }} until {{ reservation.expires|isodatetime:"minutes" }}{% if reservation.comment %} ({{ reservation.comment }}){% endif %} |
| Last deploy | {% if last %}{{ last|linkify }}, {{ last.created|isodatetime:"minutes" }}, {{ last.user|placeholder }}{% else %}—{% endif %} |