Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26157

Failed to import host configuration with SNMP interface, items, and discovery rules from Zabbix 4.0 to 5.0+

XMLWordPrintable

    • S25-W14/15

      Issue:
      When exporting a host configuration created in Zabbix 4.0 and importing it into Zabbix 5.0 or later, the import fails with the following error:

      Error message:
      Import failed
      Cannot find interface "if1" used for item "ICMP ping" on "import-test".

      Host configuration:

      1. Host uses an SNMP interface.
      2. No templates are used (items are directly configured on the host).
      3. Items are configured.
      4. Discovery rules (LLD, prototypes) are configured.

      Steps to reproduce:

      1. Create a host in Zabbix 4.0 with the above configuration (SNMP interface, direct items, and discovery rules).
      2. Export the host configuration.
      3. Import the configuration into Zabbix 5.0 or later.

      Expected:
      The host configuration should be imported successfully.

      Additional information:

      • If the host configuration only includes items (setting 3) or discovery rules (setting 4), the export/import is successful.
      • If the host uses a Zabbix agent interface instead of an SNMP interface, the import is successful even with both items and discovery rules.

            zabbix.dev Zabbix Development Team
            hnishida Hibiki Nishida
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: