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

Multiple pie chart problems

    XMLWordPrintable

    Details

      Description

      Host names are not displayed in pie graph legends. See screenshot.

      Additionally, lots of errors occur when rendering a pie graph. These errors might not be related to the host name problem but should be fixed anyway.

      Creating default object from empty value [chart6.php:120 ? CPie->draw() ? CPie->selectData() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:218]
      Undefined index: unit [chart6.php:120 ? CPie->draw() ? CPie->selectData() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:260]
      Creating default object from empty value [chart6.php:120 ? CPie->draw() ? CPie->selectData() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:218]
      Undefined index: unit [chart6.php:120 ? CPie->draw() ? CPie->selectData() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:260]
      Undefined index: hostname [chart6.php:120 ? CPie->draw() ? CGraphDraw->drawHeader() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cgraphdraw.php:240]
      Undefined index: hostname [chart6.php:120 ? CPie->draw() ? CGraphDraw->drawHeader() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cgraphdraw.php:240]
      Error in query [SELECT h.host,i.key_,i.itemid,i.lastclock,i.lastvalue,i.value_type,i.units,i.valuemapid FROM items i, hosts h WHERE i.hostid=h.hostid A)] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'A)' at line 1]
      mysql_fetch_assoc() expects parameter 1 to be resource, boolean given [chart6.php:120 ? CPie->draw() ? CGraphDraw->drawHeader() ? CMacrosResolverHelper::resolveGraphName() ? CMacrosResolver->resolve() ? CMacrosResolver->resolveGraph() ? CMacrosResolver->resolveGraphsFunctionalItemMacros() ? DBfetchArrayAssoc() ? DBfetch() ? mysql_fetch_assoc() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/db.inc.php:578]
      mysql_free_result() expects parameter 1 to be resource, boolean given [chart6.php:120 ? CPie->draw() ? CGraphDraw->drawHeader() ? CMacrosResolverHelper::resolveGraphName() ? CMacrosResolver->resolve() ? CMacrosResolver->resolveGraph() ? CMacrosResolver->resolveGraphsFunctionalItemMacros() ? DBfetchArrayAssoc() ? DBfetch() ? mysql_free_result() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/db.inc.php:579]
      Only variables should be passed by reference [chart6.php:120 ? CPie->draw() ? CGraphDraw->drawHeader() ? CMacrosResolverHelper::resolveGraphName() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/macros/CMacrosResolverHelper.php:215]
      Division by zero [chart6.php:120 ? CPie->draw() ? CPie->drawLegend() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:306]
      Division by zero [chart6.php:120 ? CPie->draw() ? CPie->drawLegend() in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/class.cpie.php:306]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jelisejev Pavels Jelisejevs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: