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

graph description is vanished on monitoring screen

XMLWordPrintable

    • Sprint 46, Nov 2018, Sprint 47, Dec 2018
    • 1

      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.

            Miks.Kronkalns Miks Kronkalns
            daiki.matsuda@miraclelinux.com MATSUDA Daiki
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: