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

Errors when trying to create a graph widget for key system.cpu.util[,iowait] with Y axis placed on the left side of the graph

    XMLWordPrintable

    Details

    • Team:
      Team D
    • Sprint:
      Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019)
    • Story Points:
      0.5

      Description

      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:

      1. Navigate to Monitoring => Dashboards and create a new dashboard
      2. Click on "Add widget" button and select Type = Graph
      3. 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.

      Scenario:

        Attachments

          Activity

            People

            Assignee:
            basilgon Vasily Goncharenko
            Reporter:
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: