{% extends 'generic/object.html' %} {% load helpers %} {% block subtitle %}{% endblock %} {% block control-buttons %} {% if can_adopt and not object.adopt %}
{% endif %} {% if can_hand_back and not object.hand_back %} {% endif %} {% if can_delete_now and not object.delete_now %} {% endif %} {% endblock %} {% block content %}| NetBox object | {{ object.netbox_object|linkify|placeholder }} {{ object.object_ref }} |
|---|---|
| Instance | {{ object.instance|linkify }} |
| Host name | {{ object.host_name|placeholder }} |
| Folder | {{ object.folder|placeholder }} |
| State | {{ object.get_state_display }} |
| Adopt | requested; the foreign host is taken over with the next deploy |
| Delete now | requested; skips the grace period with the next deploy |
| Hand back | requested; the host stays in Checkmk and is no longer managed after the next deploy |
| Authors | {{ object.authors|join:", "|placeholder }} |
| Messages | {% for m in object.messages %} {{ m }} {% empty %}—{% endfor %} |
Rolled back to revision {{ lock.rollback_to }} by {{ lock.user|placeholder }} on {{ lock.created|isodatetime:"minutes" }} ({{ lock.revision|linkify }}). A pending change of this object is shown but not deployed until NetBox matches the rolled-back state again; then the lock releases itself.
{% if object.pending %}NetBox differs from the rolled-back state in (rolled back → NetBox):
{% include 'netbox_checkmk_sync/inc/diff.html' with diff=object.pending %}{% endif %} {% if object.netbox_object %}{% endif %} {% if can_rollback %} {% endif %}| {{ r|linkify }} | {{ r.created|isodatetime:"minutes" }} | {{ r.user|placeholder }} | {{ r.description }} | {% if can_rollback %} {% endif %} |
| no revisions yet |