Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8638

Wrong rate calculation for formula with calculated items arguments

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.2.2
    • Server (S)
    • Fedora release 19 with Zabbix server v2.2.2 (revision 42525) (12 February 2014)
      Compilation time: Apr 3 2014 11:52:25

      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:
      2014.Aug.11 13:38:23 125
      uses the "Calculated Argument2" value:
      2014.Aug.11 13:23:22 4
      instead of:
      2014.Aug.11 13:38:22 9
      which was updated just one second before the rate calculation.

      Queried values:
      Calculated rate (formula is 100*last("Argument1")/last("Calculated Argument2"):
      2014.Aug.11 13:53:23 44.4444
      2014.Aug.11 13:38:23 125
      2014.Aug.11 13:23:23 22.2222

      Argument1:
      2014.Aug.11 13:50:28 4
      2014.Aug.11 13:35:29 5
      2014.Aug.11 13:20:28 2

      Calculated Argument2:
      2014.Aug.11 13:53:22 7
      2014.Aug.11 13:38:22 9
      2014.Aug.11 13:23:22 4

            Unassigned Unassigned
            ionel.ceausescu.old Ionel Ceausescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: