[ZBX-8638] Wrong rate calculation for formula with calculated items arguments Created: 2014 Aug 20 Updated: 2017 May 30 Resolved: 2014 Aug 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Ionel Ceausescu | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | calculateditems | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Fedora release 19 with Zabbix server v2.2.2 (revision 42525) (12 February 2014) |
Description |
Calculated items that contain other calculated items arguments don't always always use the last argument's calculated value. See below example, the calculated rate: Queried values: Argument1: Calculated Argument2: |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Aug 20 ] |
I believe this is expected and the order items are calculated in should not be relied upon. In this case, the value of "9" for the second item got calculated at 13:38:22, but it takes time to get the value from the poller to the history cache and from there to the value cache and to the database. So at 13:38:23 the obtained value was not yet in the value cache, so it used the last value stored there. |
Comment by Ionel Ceausescu [ 2014 Aug 20 ] |
Hello, Thanks for the quick answer. Is there any way to overcome this issue in Zabbix 2.2.2? In the end sometimes it's working fine, so maybe with a finer tuning between the various mechanisms it will make the problem disappear, or at least lower its occurrence. I see there is a new feature foreseen for 2.4, https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-2128, I hope it will get implemented, it would allow putting a delay between the calculation time of the two items and solve the issue. BR, |
Comment by Oleksii Zagorskyi [ 2014 Aug 21 ] |
Looks like here is nothing to fix -> issue closed. |