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

Template Export failure

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.3rc1, 2.1.0
    • 2.0.2
    • Frontend (F)
    • None

      When trying to export one of our template we get a broken xml contening error log instead of expected xml :

      [error] Undefined index: host [include/classes/export/CConfigurationExportBuilder.php:65]
      [error] Undefined index: name [include/classes/export/CConfigurationExportBuilder.php:66]
      [error] Undefined index: groups [include/classes/export/CConfigurationExportBuilder.php:67]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatGroups() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 67 and defined [include/classes/export/CConfigurationExportBuilder.php:424]
      [error] Invalid argument supplied for foreach() [include/classes/export/CConfigurationExportBuilder.php:428]
      [error] Undefined index: applications [include/classes/export/CConfigurationExportBuilder.php:68]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatApplications() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 68 and defined [include/classes/export/CConfigurationExportBuilder.php:498]
      [error] Invalid argument supplied for foreach() [include/classes/export/CConfigurationExportBuilder.php:502]
      [error] Undefined index: items [include/classes/export/CConfigurationExportBuilder.php:69]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatItems() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 69 and defined [include/classes/export/CConfigurationExportBuilder.php:443]
      [error] Invalid argument supplied for foreach() [include/classes/export/CConfigurationExportBuilder.php:447]
      [error] Undefined index: discoveryRules [include/classes/export/CConfigurationExportBuilder.php:70]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatDiscoveryRules() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 70 and defined [include/classes/export/CConfigurationExportBuilder.php:253]
      [error] Invalid argument supplied for foreach() [include/classes/export/CConfigurationExportBuilder.php:257]
      [error] Undefined index: macros [include/classes/export/CConfigurationExportBuilder.php:71]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatMacros() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 71 and defined [include/classes/export/CConfigurationExportBuilder.php:517]
      [error] Argument 1 passed to order_macros() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 519 and defined [include/func.inc.php:1124]
      [error] Invalid argument supplied for foreach() [include/func.inc.php:1126]
      [error] Undefined index: parentTemplates [include/classes/export/CConfigurationExportBuilder.php:72]
      [error] Argument 1 passed to CConfigurationExportBuilder::formatTemplateLinkage() must be an array, null given, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 72 and defined [include/classes/export/CConfigurationExportBuilder.php:350]
      [error] Invalid argument supplied for foreach() [include/classes/export/CConfigurationExportBuilder.php:354]
      

      This template, "Template CI OS Linux" is a Linked Template to "Template OS Linux".
      Basicaly this template change default graphs colors.

      May be it's related but this "Template CI OS Linux" report a Screen but we cant see it (see screenshot)

            Unassigned Unassigned
            hgomez Gomez Henri
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: