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

Template Import fail with Undefined variable: graph [conf.import.php:130 ? CConfigurationImport->import()

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: Frontend (F), Server (S)
    • Labels:
    • Environment:
       FreeBSD 9.2 4GB RAM / 4-core

      Description

      If I want to import a working template v2.0.9, i get this error message:
      Undefined variable: graph [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->processGraphs() ? CAPIObject->create() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CGraphGeneral->create() ? CGraph->validateCreate() ? CGraph->validateItems() in /usr/local/www/zabbix22/api/classes/CGraph.php:721]
      Cannot add a non-numeric item "RFC1213-MIB::tcpCurrEstab.0" to graph "".

      If i delete this item from this template, a new error message will generate.
      array_flip(): Can only flip STRING and INTEGER values! [conf.import.php:130 ? CConfigurationImport->import() ? CConfigurationImport->processGraphs() ? CAPIObject->create() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CGraphGeneral->create() ? CGraph->validateCreate() ? CGraph->validateItems() ? CItem->get() ? dbConditionInt() ? array_flip() in /usr/local/www/zabbix22/include/db.inc.php:1047]
      No permissions to referred object or it does not exist!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stefans Stefan Sabolowitsch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: