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

Wrong trends_uint values on master node

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.4
    • 1.8.4rc1
    • None
    • None
    • Error in source code. Platform independent.

      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);

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

              Created:
              Updated:
              Resolved: