{% extends 'generic/_base.html' %} {% load form_helpers %} {% block title %}Setup Wizard — Step 3 of 4{% endblock %} {% block content %}
{# Display Django messages (success/error from import) #} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {# Collapsible Import config.py panel #}

If you are migrating from the standalone netbox-zabbix-sync CLI tool, upload your config.py file to automatically populate the sync settings below.

{% csrf_token %}
{% if import_form and import_form.config_file.errors %}
{% for error in import_form.config_file.errors %}

{{ error }}

{% endfor %}
{% endif %}
Upload your netbox-zabbix-sync config.py file (.py only, max 1 MB)
{% csrf_token %}
Step 3: Sync Configuration
{% if form.non_field_errors %} {% endif %}

Configure the synchronization settings. Defaults are pre-populated from the netbox-zabbix-sync project defaults.

General
{% render_field form.description %} {% render_field form.description_dt_format %} {% render_field form.clustering %} {% render_field form.create_hostgroups %} {% render_field form.create_journal %}
Templates

By default, Zabbix templates are assigned via the template_cf custom field. Enable Templates from Config Context to use config context data instead.

{% render_field form.template_cf %} {% render_field form.device_cf %} {% render_field form.templates_config_context %} {% render_field form.templates_config_context_overrule %}
Proxy

Set custom field names to enable proxy/proxy group assignment from NetBox. Leave empty to disable.

{% render_field form.proxy_cf %} {% render_field form.proxy_group_cf %} {% render_field form.full_proxy_sync %}
Hostgroups

Format uses path segments like site/manufacturer/role. Custom field names can also be used. Enable Traverse Regions/Site Groups to include the full hierarchy path.

{% render_field form.hostgroup_format %} {% render_field form.traverse_regions %} {% render_field form.traverse_site_groups %} {% render_field form.extended_site_properties %}
Virtual Machines

Enable Sync Virtual Machines to include VMs in the sync. The VM hostgroup format supports VM-specific attributes like cluster_type and cluster.

{% render_field form.sync_vms %} {% render_field form.vm_hostgroup_format %}
Device Lifecycle

Control what happens to Zabbix hosts when a NetBox device changes status.

{% render_field form.zabbix_device_removal %} {% render_field form.zabbix_device_disable %}
Inventory

Set Inventory Mode to manual or automatic to enable inventory sync. The maps define which NetBox fields map to Zabbix inventory fields (use / for nested properties).

{% render_field form.inventory_mode %} {% render_field form.inventory_sync %} {% render_field form.device_inventory_map %} {% render_field form.vm_inventory_map %}
Usermacros

Enable to sync NetBox fields as Zabbix user macros. Set to full to force-update secret macros every run.

{% render_field form.usermacro_sync %} {% render_field form.device_usermacro_map %} {% render_field form.vm_usermacro_map %}
Tags

Enable Tag Sync to sync NetBox tags and mapped fields to Zabbix host tags. Tag Name is the Zabbix tag key under which NetBox device/VM tags are registered.

{% render_field form.tag_sync %} {% render_field form.tag_lower %} {% render_field form.tag_name %} {% render_field form.tag_value %} {% render_field form.device_tag_map %} {% render_field form.vm_tag_map %}
Filtering

NetBox API filters to control which devices/VMs are included in the sync.

{% render_field form.nb_device_filter %} {% render_field form.nb_vm_filter %}
Back
{% endblock content %}