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

Undefined offset error appears during importing process

XMLWordPrintable

    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022)
    • 1

      Steps to reproduce:

      Result: Undefined offset error appears:

      Undefined offset: 10437 [conf.import.php:89 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHosts() → CHostImporter->import() → CHostImporter->addInterfaceIds() → CConfigFile->{closure}() in conf/zabbix.conf.php:73]
      Invalid argument supplied for foreach() [conf.import.php:89 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processHosts() → CHostImporter->import() → CHostImporter->addInterfaceIds() → CConfigFile->{closure}() in conf/zabbix.conf.php:73]
      


      Note: the issue appears only on zabbix version 5.0

        1. host_with_same_name.xml
          0.7 kB
          Kirils Seve
        2. screenshot-1.png
          36 kB
          Kirils Seve
        3. zbx_export_templates.xml
          0.5 kB
          Kirils Seve

            rdetlavs Reinis Detlavs (Inactive)
            kseve Kirils Seve
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: