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

importing template gives error about item description

    Details

      Description

      Note that this template can be imported into 2.4.6 successfully.

      With a template from the zabbix wiki for cisco devices:

      https://www.zabbix.org/wiki/File:Template_Cisco_Catalyst_Switches-20141206.xml

      The error message is:

      Illegal string offset 'params' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'trapper_hosts' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmp_community' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmp_oid' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmp_port' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmpv3_securityname' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmpv3_securitylevel' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmpv3_authpassphrase' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Illegal string offset 'snmpv3_privpassphrase' [conf.import.php:173 ? CFrontendApiWrapper->import() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CConfiguration->import() ? CXmlImportReader->read() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() ? CXmlImportReader->xmlToArray() in include/classes/import/readers/CXmlImportReader.php:102]
      Invalid XML tag "/zabbix_export/hosts/host(1)/items/item(1)": the tag "description" is missing.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lamba lamba
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: