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

Custom graph not supporting more that 97 items

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 3.0.13, 3.4.2
    • Frontend (F)
    • 1

      Steps to reproduce:
      Configuration host
      Select host
      Select graph
      Create graph
      Give name and leave default settings
      Items, add, select 100+ items
      Add

      Result:
      Throw exception:

      Undefined index: itemid [ in graphs.php:576]
      reset() expects parameter 1 to be array, null given [graphs.php:576 ? reset() in graphs.php:576]
      Undefined index: itemid [ in graphs.php:579]
      Undefined index: hostid [ in graphs.php:579]
      Undefined index: itemid [ in graphs.php:580]
      Undefined index: name [ in graphs.php:580]
      Undefined index: itemid [ in graphs.php:581]
      Undefined index: key_ [ in graphs.php:581]
      Undefined index: itemid [ in graphs.php:582]
      Undefined index: flags [ in graphs.php:582]
      Undefined index: sortorder [ in graphs.php:598]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      Undefined index: sortorder [graphs.php:608 ? asort_by_key() ? uasort() ? __lambda_func() in include/func.inc.php(1063) : runtime-created function:1]
      uasort(): Array was modified by the user comparison function [graphs.php:608 ? asort_by_key() ? uasort() in include/func.inc.php:1063]
      Undefined index: drawtype [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:338]
      Undefined index: yaxisside [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:342]
      Undefined index: itemid [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:346]
      Undefined index: type [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:347]
      Undefined index: calc_fnc [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:347]
      Undefined index: color [graphs.php:616 ? CView->render() ? include() in include/views/configuration.graph.edit.php:348]
      

      Reducing the amount to 97 items, allow the graph to be created, then updating afterward with more items do not work, and do not throw exception.

      Expected:
      Have all selected items in graphs, having more than 100 items in version 2.4.3 is working without problem. Looks like a regression.

      Having the same 100 items in an adhoc graph work fine in version 3.4.2

            Unassigned Unassigned
            hgosselin Hugues Gosselin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: