[ZBX-10546] Undefined offset in host import Created: 2016 Mar 17 Updated: 2024 Apr 10 Resolved: 2017 May 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 3.0.2rc1, 3.2.0alpha1 |
Fix Version/s: | 3.0.10rc1, 3.2.7rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Major |
Reporter: | Oleg Egorov (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | import, undefinedoffset, xml | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | undefined_offset_hostprototype.xml zbx_export_hosts (4).xml |
Team: | Team A |
Sprint: | Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8 |
Story Points: | 1 |
Description |
Host export from Zabbix 2.4.8rc1 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] |
Comments |
Comment by Ivo Kurzemnieks [ 2016 Apr 28 ] |
Could you please provide exported templates in XML as well? Otherwise we get tons of other errors: Creating empty templates doesn't really help. When importing the error ir Cannot find item "zabbix[vcache,buffer,pfree]" on "frontend host3" used in trigger "Less than 5% free in the value cache2". |
Comment by Gregory Chalenko [ 2017 Mar 17 ] |
Can not reproduce errors for branch 3.0.2rc1 |
Comment by Gregory Chalenko [ 2017 Mar 17 ] |
Fixed in: svn://svn.zabbix.com/branches/dev/ZBX-10546 r66495 |
Comment by Gregory Chalenko [ 2017 Mar 17 ] |
(2) [F] No translation string changes sasha CLOSED |
Comment by Gregory Chalenko [ 2017 May 22 ] |
Fixed in:
|