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

Undefined offset in host import

XMLWordPrintable

    • Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8
    • 1

      Host export from Zabbix 2.4.8rc1
      See attachment.

      Undefined offset: 10227 [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->addInterfaceIds() in include\classes\import\importers\CHostImporter.php:252]
      Invalid argument supplied for foreach() [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->addInterfaceIds() in include\classes\import\importers\CHostImporter.php:252]
      Undefined offset: 10228 [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->addInterfaceIds() in include\classes\import\importers\CHostImporter.php:252]
      Invalid argument supplied for foreach() [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CConfigurationImport->import() ? CConfigurationImport->processHosts() ? CHostImporter->import() ? CHostImporter->addInterfaceIds() in include\classes\import\importers\CHostImporter.php:252]
      

        1. undefined_offset_hostprototype.xml
          45 kB
          Ivo Kurzemnieks
        2. zbx_export_hosts (4).xml
          179 kB
          Oleg Egorov

            Unassigned Unassigned
            oleg.egorov Oleg Egorov (Inactive)
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: