-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.7rc1, 4.2.1rc1, 4.4.0alpha1
-
Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
-
0.5
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.