-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.4.0
-
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:
- Create an item for the monitored host with "History storage period" = 1h
- Assign the monitored host to the proxy.
- Block the network connection between Server and Proxy so that Proxy continues collecting the metric for more than 1h without interaction with the Server.
- 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