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

Proxy stores values more time than set in "History storage period" for the Item

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.0
    • Proxy (P)
    • None

      Prerequisites
      Zabbix Proxy
      SQLite3
      Mode active
      ProxyOfflineBuffer=5

      Monitored host
      Any type of item with "History storage period" > 2h (more than value ProxyOfflineBuffer from above).

      Steps to reproduce:

      1. Create an item for the monitored host with "History storage period" = 1h
      2. Assign the monitored host to the proxy.
      3. Block the network connection between Server and Proxy so that Proxy continues collecting the metric for more than 1h without interaction with the Server.
      4. After restoring the network, the Proxy is sending historical values with the expired storage period.

      Result:
      The Proxy stores values for all period when it didn't interact with the server, and then during the synchronization, the server accepts only values for the last 1h (as set in "History storage period").

      779:20230312:104818.573 item "node-01-wro1:vfs.fs.dependent[/,data]" vaalue timestamp "2023.03.12 08:31:22" is outside history storage period
      779:20230312:104818.588 item "node-01-wro1:vfs.fs.dependent[/,data]" value timestamp "2023.03.12 08:32:22" is outside history storage period
      779:20230312:104818.605 item "node-01-wro1:vfs.fs.dependent[/,data]" value timestamp "2023.03.12 08:33:22" is outside history storage period
      779:20230312:104818.620 item "node-01-wro1:vfs.fs.dependent[/,data]" value timestamp "2023.03.12 08:34:22" is outside history storage period
      779:20230312:104818.637 item "node-01-wro1:vfs.fs.dependent[/,data]" value timestamp "2023.03.12 08:35:22" is outside history storage period
      

      Expected:
      The Proxy Housekeeper should clean all values older than "History storage period" for the item and don't even try to send them to the server which rejects those values anyway

            zabbix.dev Zabbix Development Team
            vovan2007 Volodymyr Mosiichuk
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: