[ZBX-14604] graph description is vanished on monitoring screen Created: 2018 Jul 13  Updated: 2024 Apr 10  Resolved: 2018 Dec 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.22, 3.0.19
Fix Version/s: 3.0.25rc1, 4.0.4rc1, 4.2.0alpha2, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: MATSUDA Daiki Assignee: Miks Kronkalns
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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.



 Comments   
Comment by MATSUDA Daiki [ 2018 Jul 13 ]

It must sellect the host from pull down menu. In the default condition, does not occur.

Comment by Miks Kronkalns [ 2018 Nov 09 ]

Fixed in development branches:

  • 3.0  svn://svn.zabbix.com/branches/dev/ZBX-14604
  • 4.0  svn://svn.zabbix.com/branches/dev/ZBX-14604_40
Comment by Alexander Vladishev [ 2018 Dec 21 ]

Fixed in:

  • 3.0.25rc1 r88084
  • 4.0.4rc1 r88085
  • 4.2.0alpha2 (trunk) r88086
Comment by richlv [ 2019 Jan 23 ]

(1) Typo in the changelog entry - "displayng".

sasha Thanks! RESOLVED in r89006.

CLOSED

Generated at Fri Apr 26 23:21:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.