[ZBX-11367] XML after export cannot be imported back in Created: 2016 Oct 18 Updated: 2017 May 30 Resolved: 2016 Oct 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.0.5 |
Fix Version/s: | 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Minor |
Reporter: | Artur | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | xml | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS7 DB with partitions. |
Attachments: | zbx_export_hosts.xml |
Description |
continued problems https://support.zabbix.com/browse/ZBX-11352 Incorrect bulk value for interface. [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() ? CHost->update() ? CHost->massUpdate() ? CHostInterface->replaceHostInterfaces() ? CHostInterface->checkInput() ? CHostInterface->checkBulk() ? CApiService::exception() in include/classes/api/services/CHostInterface.php:658] |
Comments |
Comment by Aleksandrs Saveljevs [ 2016 Oct 18 ] |
Setting to "Confirmed". |
Comment by Gunars Pujats (Inactive) [ 2016 Oct 19 ] |
(1) No translation strings changed iivs CLOSED |
Comment by Gunars Pujats (Inactive) [ 2016 Oct 19 ] |
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-11367 |
Comment by Ivo Kurzemnieks [ 2016 Oct 20 ] |
The XML shouldn't contain bulk values as zeroes for non-SNMP interfaces. It should contain the default value 1. I assume the DB is a bit corrupted, hence the wrong XML. The real question is how that was achieved. Anyway, after a short discussion, we decided to skip passing the bulk value to host.create/host.update via configuration.import for non-SNMP interfaces. |
Comment by Artur [ 2016 Oct 20 ] |
It was after upgrade to 2.4 when bulk values were add to interface. |
Comment by Ivo Kurzemnieks [ 2016 Oct 20 ] |
TESTED |
Comment by Gunars Pujats (Inactive) [ 2016 Oct 21 ] |
Fixed in:
|