We recently upgraded from Zabbix 2.0.6 to 2.2.2, and wanted to try out some of the new VMWare monitoring. I downloaded the new VMWare templates from https://www.zabbix.org/wiki/Zabbix_T...cial_Templates and tried importing, but it fails every time (no matter if I use the default update/add rules selection or select all of the checkboxes). From the error it appears that for some reason the file name to be uploaded isn't getting passed to the server:
Thanks for your help in advance
Code:
Undefined index: type [conf.import.php:123 → CUploadFile->__construct() in /data1/zabbix/include/classes/helpers/CUploadFile.php:61] Undefined index: tmp_name [conf.import.php:123 → CUploadFile->__construct() in /data1/zabbix/include/classes/helpers/CUploadFile.php:62] Undefined index: error [conf.import.php:123 → CUploadFile->__construct() in /data1/zabbix/include/classes/helpers/CUploadFile.php:63] Undefined index: size [conf.import.php:123 → CUploadFile->__construct() in /data1/zabbix/include/classes/helpers/CUploadFile.php:64] file_get_contents(): Filename cannot be empty [conf.import.php:127 → CUploadFile->getContent() → file_get_contents() in /data1/zabbix/include/classes/helpers/CUploadFile.php:78] XMLReader::XML(): Empty string supplied as input [conf.import.php:130 → CConfigurationImport->import() → CXmlImportReader->read() → XMLReader->XML() in /data1/zabbix/include/classes/import/readers/CXmlImportReader.php:61] XMLReader::read(): Load Data before trying to read [conf.import.php:130 → CConfigurationImport->import() → CXmlImportReader->read() → CXmlImportReader->xmlToArray() → XMLReader->read() in /data1/zabbix/include/classes/import/readers/CXmlImportReader.php:76] DOMDocument::loadXML(): Empty string supplied as input [conf.import.php:130 → CConfigurationImport->import() → CXmlImport18::import() → DOMDocument->loadXML() in /data1/zabbix/include/classes/import/CXmlImport18.php:400]

Comment