[ZBX-15969] No values returned in column "Change" in "Latest Data" view when value difference is below 0.01 Created: 2019 Apr 10  Updated: 2024 Apr 10  Resolved: 2019 Jul 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.7rc1, 4.2.1rc1, 4.4.0alpha1
Fix Version/s: 4.0.11rc1, 4.2.5rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Minor
Reporter: Sergejs Olonkins Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 1
Labels: latestdata, rounding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File Neglected_Changes.gif    
Team: Team B
Sprint: Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
Story Points: 0.5

 Description   

Problem description: If the difference between the previous value and the last value of a metric is below 0.01, changes of item values are not returned in column "Change" in Monitoring => Latest Data view. This becomes a problem when working with metrics where values comparable to 0.01 are common.

Steps to reproduce:
1 - Create a Zabbix trapper item with "Type of Information" set to "Numeric (float)",
2 - Send a "0.01" value for this trapper item as in the example below:
./bin/zabbix_sender -z 127.0.0.1 -s "Wednesday_Host_2019" -k trap -o '0.01'
3 - Navigate to Monitoring => Latest data and verify that the value of the "Last value" column is equal to 0.01 for the trapper item.
4 - Send a "0.02" value for this trapper item. Check Monitoring => Latest data and verify that "Last value" is now "0.02" and the value of the "Change" column is set to "0.01"
5 - Send a "0.029" value for this trapper item. Check Monitoring => Latest data

Result:
Value of column "Last value" has changed from 0.02 to 0.03 (0.029 rounded up to 3), but column "Change" is empty. In such a way it is possible to significantly increase the value without displaying anything in column "Changes".

Expected: Column "Change" should indicate the observed change.



 Comments   
Comment by Ivo Kurzemnieks [ 2019 Jun 13 ]

RESOLVED in feature/ZBX-15969-4.0

Comment by Ivo Kurzemnieks [ 2019 Jul 02 ]

Fixed in:

Generated at Thu Apr 25 23:48:41 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.