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

graph description is vanished on monitoring screen

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 46, Nov 2018, Sprint 47, Dec 2018
    • Story Points:
      1

      Description

      Graph description is vanished on monitoring screen at the condition where
      same items but they have diffeent function (e.g. max and avg) are registered.

      The following codes in frontends/php/include/classes/screens/CScreenGraph.php adds argument to URL.

      108       $newGraphItems = getSameGraphItemsForHost($graph['gitems'],
      $this->hostid, false);
      109       foreach ($newGraphItems as $newGraphItem) {
      110         unset($newGraphItem['gitemid'], $newGraphItem['graphid']);
      111 
      112         foreach ($newGraphItem as $name => $value) {
      113          
      $this->screenitem['url']->setArgument('items['.$newGraphItem['itemid'].']['.$name.']',
      $value);
      114
      

      Because it does not care for combination, l.113 overwrites.

        Attachments

          Activity

            People

            • Assignee:
              Miks.Kronkalns Miks Kronkalns
              Reporter:
              daiki.matsuda@miraclelinux.com MATSUDA Daiki
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: