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

Wrong trends_uint values on master node

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.4rc1
    • Fix Version/s: 1.8.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Error in source code. Platform independent.

      Description

      Master node has wrong trends_uint values for child's node's items.
      In file nodehistory.c in function process_items there is something like this:
      if (value_type == ZBX_TYPE_FLOAT)
      DBadd_trend(itemid, value_double, clock);
      else if (value_type == ZBX_TYPE_UINT)
      DBadd_trend_uint(itemid, value_double, clock);
      In my opinion should be:
      if (value_type == ZBX_TYPE_FLOAT)
      DBadd_trend(itemid, value_double, clock);
      else if (value_type == ZBX_TYPE_UINT)
      DBadd_trend_uint(itemid, value_uint64, clock);

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lukasz Ɓukasz Reszka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: