[ZBX-17105] Strange behavior of graph, 4.4.4 Created: 2019 Dec 20  Updated: 2024 Apr 10  Resolved: 2020 Feb 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.16rc1, 4.4.4rc2
Fix Version/s: 4.0.17rc1, 4.4.5rc1, 5.0.0alpha1, 5.0 (plan)

Type: Problem report Priority: Blocker
Reporter: Kolunchik Assignee: Zabbix Development Team
Resolution: Fixed Votes: 38
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, Firefox.


Attachments: PNG File 1.png     PNG File 2.png     PNG File 3.png     PNG File 4.png     PNG File 5.png     File CLineGraphDraw.php     PNG File image-2019-12-24-08-59-33-310.png    
Issue Links:
Causes
caused by ZBX-1977 graph y axis labels cut off in some c... Reopened
Duplicate
is duplicated by ZBX-17106 Zabbix 4.4 release broke graph output Closed
is duplicated by ZBX-17112 Part of zabbix graph is not visible Closed
is duplicated by ZBX-17142 Incomplete data on Graphs when longer... Closed
is duplicated by ZBX-17167 Chart being cut Closed
is duplicated by ZBX-17168 Chart being cut Closed
is duplicated by ZBX-17204 After 4.4.4 upgrade graphs dont't sho... Closed
is duplicated by ZBX-17217 Graphs do not show latest data, amoun... Closed
is duplicated by ZBX-17270 figure and time line have an offset Closed
is duplicated by ZBX-17385 Data Lag in graphs (4.0.16) Closed
is duplicated by ZBX-17431 Zabbix 4.0 Graph Mouse Hover doesn't ... Closed
Team: Team D
Sprint: Sprint 59 (Dec 2019), Sprint 60 (Jan 2020)
Story Points: 0.125

 Description   

Hello!
Starting with Zabbix 4.4.4 latest part of data is absent on classic graphs.



 Comments   
Comment by Aigars Kadikis [ 2019 Dec 20 ]

Can confirm this with CentOS 7, PHP 5.4

Comment by Uve Lokk [ 2019 Dec 20 ]

Same problem with Zabbix 4.0.16 + Debian 10 + PHP 7.3

Comment by Atsushi Tanaka [ 2019 Dec 20 ]

When I display the graph with Monitoring->Graphs, the drawing of the graph line is shifted to the left.
The maximum value is around 16:11, but the maximum value is around 16:07 in the drawn graph.

When comparing the old and new graph widgets side by side on the dashboard, it is now shifted to the right.
The maximum value is around 16:11, but the maximum value is around 16:17 in the drawn Graph(classic).

Comment by Igor Litvinov [ 2019 Dec 21 ]

Hello from Russia, Surgut =)

Problem is in file /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php

Just use file from version 4.4.3 and replace it from Your's by CLineGraphDraw.php

Best regards

Comment by Igor Litvinov [ 2019 Dec 22 ]

Issue was resolved

Comment by Craig Hopkins [ 2019 Dec 23 ]

Seeing this in 4.4.4 from the repos, too, on Debian 10

Comment by Jose [ 2019 Dec 24 ]

Same here with 4.4.4

 

Comment by Vladimir [ 2019 Dec 26 ]

confirm with CentOS 7, postgresql 9.6

Comment by Jonathan W [ 2019 Dec 26 ]

Confirmed on CentOS 7.7, PHP 7.2, and MariaDB 10.3.

Comment by Dirk Steinkopf [ 2019 Dec 29 ]

Hi. Is anybody able to confirm Igor's workaround?
Thank you very much.

Comment by Alex Alexandrov (Inactive) [ 2019 Dec 29 ]

Hello! I confirm. This work for version 4.4.4.

Comment by David Messenger [ 2019 Dec 29 ]

Also confirmed fix. Pulling my hair out thinking I had broken my install somehow! Thanks @Igor Litvinov

Comment by Dirk Steinkopf [ 2019 Dec 29 ]

Thank you all. Now I also had the courage to do that for me: Worked

Comment by Sergei Dubrov [ 2019 Dec 29 ]

Yes, I can also confirm that Igor's workaround (replacing CLineGraphDraw.php on version 4.4.3) works fine.

Comment by Stefan Radman [ 2019 Dec 29 ]

Confirmed for 4.0.16 from repo installed on CentOS 7.7 (stock php-5.4.16 and mariadb-5.5.64).

Replacing /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php in 4.0.16 with the version from 4.0.15 worked for me.

Thanks for suggesting the workaround.

Comment by Roberts Lataria (Inactive) [ 2019 Dec 30 ]

Fixed in:

Description of this problem

Comment by Deriuz [ 2020 Jan 08 ]

confirmed it happened to me as well but the workaround fixed it.

Comment by Christopher Creamer [ 2020 Jan 08 ]

I had the same thing happen. CentOS 7, percona mysql 5.6.

Igor's workaround worked for me.

Comment by Roman Belda [ 2020 Jan 23 ]

Hello,

when we can expect updates in our official zabbix repo? (4.0 LTS)

Thank you in advance.

RB

Comment by dimir [ 2020 Jan 23 ]

Currently 4.0.17 is expected to be out next week, so stay tuned.

Comment by Jonathan Bayer [ 2020 Jan 26 ]

Thanks to @igor's fix, this worked on a new Zabbix 4.4.4 install

https://support.zabbix.com/browse/ZBX-17105?focusedCommentId=394641&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-394641

Any word on when the next release will be?

Comment by dimir [ 2020 Jan 27 ]

It is planned for today or tomorrow.

Comment by Craig Hopkins [ 2020 Jan 28 ]

Just installed 4.4.5 and it looks fine now.

Comment by Andrew Shaw [ 2020 Jan 28 ]

I've just upgraded to 4.4.5 as well and the graphs look fine now.

Comment by dimir [ 2020 Jan 29 ]

4.0.17 is out too, you're welcome to upgrade.

Comment by Vladimir Fedyay [ 2020 Jan 29 ]

Updated to 4.0.17 on Debian 10 (buster).

Issue definitely fixed.

Comment by Stefan Radman [ 2020 Jan 29 ]

Update to 4.0.17 on CentOS 7.7.1908 solved the issue for me. Thank you.

Comment by Michael Brohl [ 2020 Feb 02 ]

I can confirm that this is fixed in 4.4.5 on Ubuntu for me also.

Comment by Roman Belda [ 2020 Feb 02 ]

Thank you for your fix. I can confirm that this is fixed on Debian 9 in 4.0.17 LTS server working well too.

Generated at Fri Jan 10 11:54:15 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.