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

Proxy overwrites local lastlogsize/mtime changes with server data during configuration sync

XMLWordPrintable

    • Sprint 75 (Apr 2021), Sprint 76 (May 2021)
    • 1

      The following code is used to build list of fields to skip:

      	if (NULL == table_items)
      	{
      		table_items = DBget_table("items");
      
      		/* do not update existing lastlogsize and mtime fields */
      		zbx_vector_ptr_create(&skip_fields);
      		zbx_vector_ptr_append(&skip_fields, (void *)DBget_field(table_items, "lastlogsize"));
      		zbx_vector_ptr_append(&skip_fields, (void *)DBget_field(table_items, "mtime"));
      		zbx_vector_ptr_sort(&skip_fields, ZBX_DEFAULT_PTR_COMPARE_FUNC);
      	}
      

      However the lastlogsize/mtime fields were moved to item_rtdata so the skip_fields vector will contain NULLs.

            dgoloscapov Dmitrijs Goloscapovs
            wiper Andris Zeila
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: