{% extends 'admin/master.html' %} {% block body %}
Provide a list of hostnames — paste them into the text box or upload a
CSV — and check them against a Checkmk account's monitoring data. For
every host you see whether it is present, whether it exists under a
different name/domain, whether its agent works (the Check_MK
service), which contact groups may see it and which CMDB template it
carries in the syncer. Missing hosts can be created as internal CMDB
objects, and hosts that are already there can be given a template
afterwards. Checking itself changes nothing in Checkmk.
| Name in Checkmk | Lowercase |
|---|---|
{{ host.name }} |
{{ host.suggested }} |
No monitored host in this account has uppercase letters in its name.
{% endif %}| Name in Checkmk (no domain part) |
|---|
{{ host.name }} |
Every monitored host in this account has a fully-qualified name.
{% endif %}| Host | Status | Name in Checkmk | Host state | Agent | CMDB template | Contact groups |
|---|---|---|---|---|---|---|
{{ row.hostname }} |
{% if row.status == 'found' %} Present {% elif row.status == 'domain_mismatch' %} Different name {% else %} Not found {% endif %} |
{% if row.status == 'domain_mismatch' %}
{{ row.matched_names | join(', ') }}
{% elif row.status == 'found' %}
(same)
{% else %}
—
{% endif %}
|
{% if row.host_state == 'UP' %} UP {% elif row.host_state is not none %} {{ row.host_state }} {% else %} — {% endif %} | {% if row.agent_state == 'OK' %} OK {% elif row.agent_state is not none %} {{ row.agent_state }} {% elif row.exists %} No agent {% else %} — {% endif %} | {% if row.cmdb_name is none %} not in CMDB {% elif row.cmdb_templates %} {% for tpl in row.cmdb_templates %} {{ tpl }} {% endfor %} {% else %} no template {% endif %} | {% if row.contact_groups %} {% for group in row.contact_groups %} {{ group }} {% endfor %} {% elif row.exists %} none {% else %} — {% endif %} |
The selected hosts are created as syncer-managed objects (source
cmdb). The normal Checkmk export then rolls them out.
Optionally apply CMDB templates so they inherit their
labels/attributes.
These hosts are already in the CMDB. The chosen template is added to the templates they carry — nothing is replaced or removed, and hosts that already have it stay untouched. Only the hosts without a template are preselected.