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

Can't import host group from 6.0 zabbix version in Hosts page

XMLWordPrintable

    • Sprint 103 (Aug 2023)
    • 0.5

      Can't import host group from zabbix 6.0 version to 6.4+ version in Hosts page

      Steps to reproduce:
         1. create yaml file (version 6.0) with one host group, one host and one template zbx_export_host_template_6.0.yaml

      zabbix_export:
        version: '6.0'
        date: '2023-08-07T08:36:48Z'
        groups:
          - uuid: ea9aac9a96e44b358dbd87bf9e7223e5
            name: import
        hosts:
          - host: BBB
            name: BBB
            groups:
              - name: import
            inventory_mode: DISABLED
        templates:
          - uuid: 00e05c81beff48a3b70d0cfedce1996f
            template: AAA
            name: AAA
            groups:
              - name: import
      

          2. in version 6.4+ open Data collection -> Hosts and try import the file

      Result: Import failed. Group does not exist.

      I think because the file contains template data, the group is considered as a template group and cannot be imported.
      Expected result: host group imported

        1. image-2023-08-07-13-22-50-623.png
          55 kB
          Natalja Romancaka
        2. zbx_export_host_template_6.0.yaml
          0.4 kB
          Natalja Romancaka

            vmaksimovs Vladimirs Maksimovs
            natalja.zabbix Natalja Romancaka
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: