-
Incident report
-
Resolution: Fixed
-
Major
-
None
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]
- is duplicated by
-
ZBX-1536 dynamic screen element 'simple graph' has useless heading if host is missing such item
- Closed