-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.7rc1, 4.2.1rc1, 4.4.0alpha1
-
Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019)
-
0.5
Problem description: "A non well formed numeric value encountered" errors are returned when attempting to create a graph widget for metric CPU iowait time with key system.cpu.util[,iowait] with Y axis placed on the left side of the graph.
Steps to reproduce:
- Navigate to Monitoring => Dashboards and create a new dashboard
- Click on "Add widget" button and select Type = Graph
- In the Host Pattern select "Zabbix server" and in Item Pattern try to select metric "CPU iowait time" (key = system.cpu.util[,iowait]). Make sure that the Y-axis is set on the left side of the graph.
Result: The following errors are returned:
A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetSvgGraphView->doAction() → CSvgGraphHelper::get() → CSvgGraph->draw() → CSvgGraph->calculateDimensions() → CSvgGraph->getValuesGridWithPosition() in include/classes/graph/CSvgGraph.php:642] A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetSvgGraphView->doAction() → CSvgGraphHelper::get() → CSvgGraph->draw() → CSvgGraph->drawGrid() → CSvgGraph->getValuesGridWithPosition() in include/classes/graph/CSvgGraph.php:642] A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetSvgGraphView->doAction() → CSvgGraphHelper::get() → CSvgGraph->draw() → CSvgGraph->drawCanvasLeftYaxis() → CSvgGraph->getValuesGridWithPosition() in include/classes/graph/CSvgGraph.php:642]
Expected: No errors should be returned and a preview of the graph should be shown in the "Add widget" popup.