{% extends 'generic/object.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block extra_controls %} Export Setup wizard Changes Activate in Checkmk
{% csrf_token %}
{% csrf_token %}
{% endblock %} {% block content %} {% if object.check_result.blocked %}
Blocked: prerequisite missing ({{ object.check_result.blocked|join:", " }}). Prerequisites
{% endif %}

Checkmk instance

{% if companion_site %}{% endif %}
Name{{ object.name }}
Description{{ object.description|placeholder }}
URL{{ object.site_url }}
Automation user{{ object.username }}
Verify TLS{% checkmark object.verify_tls %}{% if object.ca_bundle %} ({{ object.ca_bundle }}){% endif %}
Prefix{{ object.prefix }}
Default profile{{ object.default_profile|linkify }}
Invalid host names{{ object.get_name_policy_display }}{% if object.lowercase_names %}, lower case enforced{% endif %}
Activate after deploy{% checkmark object.activate_after_deploy %}
Four-eyes principle{% checkmark object.four_eyes %}
Responsibility from object permissions{% checkmark object.scope_by_object_permissions %}
When an object leaves{{ object.get_on_removal_display }}
Grace period{{ object.grace_days }} days
Functions {% if object.tag_groups_enabled %}tag groups{% endif %} {% if object.contacts_enabled %}contacts{% endif %} {% if object.create_contact_users %}create users{% endif %} {% if object.enforce_visibility %}visibility enforced{% endif %} {% if object.periodic_discovery %}periodic discovery rule{% endif %} {% if object.discovery_after_deploy %}discovery after deploy{% endif %} {% if object.bake_after_deploy %}bake after deploy{% endif %}
Filter{% if object.filter_roles or object.filter_platforms or object.filter_tags %}{% if object.filter_roles %}roles {{ object.filter_roles|join:", " }}; {% endif %}{% if object.filter_platforms %}platforms {{ object.filter_platforms|join:", " }}; {% endif %}{% if object.filter_tags %}tags {{ object.filter_tags|join:", " }}{% endif %}{% else %}none{% endif %}
Operating mode{{ object.get_mode_display }}
Schedulerecompute every {{ object.schedule_minutes }} minutes{% if object.last_scheduled %}, last {{ object.last_scheduled|isodatetime:"minutes" }}{% endif %}
Nightly report{% if object.report_enabled %}at {{ object.report_hour }}:00{% else %}off{% endif %}
Warnings{{ object.grace_warning_days }} days before deletion; rollback locks after {{ object.lock_warning_days }} days
Batch size{{ object.batch_size }}
Not activated warningafter {{ object.activation_warning_hours }} hours
Report coverage{% checkmark object.report_coverage %}
Last deploy{% if last_deploy %}{{ last_deploy.object|linkify }}, {{ last_deploy.object.finished|isodatetime:"minutes" }}: {{ last_deploy.duration_text }} for {{ last_deploy.ops }} operation{{ last_deploy.ops|pluralize }}{% else %}—{% endif %}
Last consistency report{% with r=object.reports.first %}{% if r %}{{ r.created|isodatetime:"minutes" }}: {{ r.counts.error|default:0 }} errors, {{ r.counts.warning|default:0 }} warnings{% else %}—{% endif %}{% endwith %}
Limit overrides{% if object.limit_overrides %}{{ object.limit_overrides }}{% else %}defaults{% endif %}
netbox-checkmkmatched with {{ companion_site|linkify }} (same URL)
Checkmk version{{ object.checkmk_version|placeholder }}
Central site{{ object.central_site|placeholder }}
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %}

Setup check{% if object.checked_at %} {{ object.checked_at|isodatetime:"minutes" }}{% endif %}

{% if check_items %} {% for item in check_items %} {% endfor %}
{% include "netbox_checkmk_sync/inc/check_name.html" %} {% if item.status == 'ok' %}ok{% elif item.status == 'warning' %}warning{% else %}error{% endif %} {{ item.detail }}
{% else %}
Not run yet. Run the setup check before the first deploy.
{% endif %}

Notification channels

{% for c in object.channels.all %} {% empty %} {% endfor %}
{{ c|linkify:"name" }}{{ c.get_kind_display }}{% if c.enabled %}on{% else %}off{% endif %}
No channels. Notifications are optional.

Hosts

{% for label, item in state_counts.items %} {% empty %} {% endfor %}
{{ label }}{{ item.1 }}
No objects assigned yet. Select this instance in the custom field "Checkmk instance" on devices or VMs.

Recent deployments

{% render_table deployments_table 'inc/table.html' %}
{% include "netbox_checkmk_sync/inc/busy.html" %} {% endblock %}