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

Sum of items is nodata if one of its terms is nodata

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      Linux CentOS 6.3

      Description

      We have a calculated item as follows:

      calculated-sum = last("item-1") + last("item-2") + last("item-3").

      Now, if one of those items is nodata, the calculated-sum item is also nodata. This is ok, gerally speaking, but it is not what one would have expected in this particular case. We would like the sum to display the sum of the valid items and ignore absent items.

      It could be corrected with a convertion from 'nodata' to zero in sums (or 'nodata' to ones in multiplications). Does anyone know a way of doing this?

      Thanks
      Jairo

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jairo Jairo Alves
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: