{% extends 'generic/object_edit.html' %} {% block pre_form_fields %} {% if no_profile %}
An instance connects NetBox to one Checkmk site. You need the site's URL and an automation user of its own with its secret (in Checkmk under Setup > Users; the README lists the permissions its role needs).
Saving changes nothing in Checkmk and opens the Setup wizard, where Check now tests the connection. Hosts reach Checkmk only with the first deploy, which shows a preview and asks for confirmation. For a start the defaults below are fine: manual mode, the profile Default, a grace period of 7 days before a host of a deleted object goes.
{% if form.initial.starting_point == "takeover" %}Starting point: take over an existing site. Preset below: folders only for new hosts (existing hosts stay where they are) and Hand back when an object leaves. After the check, the Takeover page on the instance analyses the site and adopts its hosts in stages. Back to a new or empty site
{% else %}Starting point. A new or empty site, or hosts built up next to the existing ones: keep the defaults. Most objects already exist in NetBox and in Checkmk? Start a takeover: it presets folders only for new hosts and Hand back, and analyses the site before anything changes.
{% endif %}