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()

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.2rc1, 2.3.0
    • 2.2.1
    • Frontend (F), Server (S)
    •  FreeBSD 9.2 4GB RAM / 4-core

      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!

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

              Created:
              Updated:
              Resolved: