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

Template export doesn't work

    XMLWordPrintable

Details

    • Incident report
    • Resolution: Fixed
    • Critical
    • 2.0.0rc4
    • 2.0.0rc3
    • Frontend (F)
    • None
    • RHEL 5 based distro, PostgreSQL 8.4

    Description

      When exporting any of the default Zabbix templates (old ones, without discovery), I get empty xml file. Frontend shows a message that export was successful, and there are no details in this message.

      There is an error in Apache log file:
      [Thu Apr 19 19:18:02 2012] [error] [client 192.168.150.1] PHP Fatal error: Argument 1 passed to CConfigurationExportBuilder::formatApplications() must not be null, called in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 68 and defined in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php on line 473, referer: https://zabbix/zabbix/templates.php?ddreset=1&sid=facd07ffb9d5bfa0

      However, if I comment out lines with applications, discovery_rules and screens in /usr/share/zabbix/include/classes/export/CConfigurationExportBuilder.php near line number 68, export works.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sire Sergey Syreskin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: