-
Problem report
-
Resolution: Unresolved
-
Trivial
-
6.0.34rc1, 6.4.19rc1, 7.0.4rc1, 7.2.0alpha1
-
None
-
Sprint candidates
Steps:
Configure log item with some data:
log[/tmp/file.txt]
Start Zabbix server, make sure agent sync it
Stop Zabbix server
Add some more data to the log
Listen with some other program on that port and
For example:
while true; do printf 'HTTP/1.1 200 OK\n\n%s' "test" | nc -l 10051; done
Notice that data from log is sent every second:
... :590890718},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193740,"id":1017,"clock":1726661568,"ns":590939593},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193760,"id":1018,"clock":1726661568,"ns":590996176},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193780,"id":1019,"clock":1726661568,"ns":591054676},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193800,"id":1020,"clock":1726661568,"ns":591102426}],"clock":1726661572,"ns":65953097}ZBXD�{"request":"active checks","host":"Zabbix server","host_metadata":"92","config_revision":1,"session":"07e651bbe5da329e6f6400600883ac3b","version":"7.0.4rc1","variant":1}ZBXDj{"request":"agent data","session":"07e651bbe5da329e6f6400600883ac3b","version":"7.0.4rc1","variant":1,"host":"Zabbix server","data":[{"itemid":47302,"value":"err critical 20 err","lastlogsize":192820,"id":971,"clock":1726661566,"ns":569751920},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192840,"id":972,"clock":1726661566,"ns":569781086},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192860,"id":973,"clock":1726661566,"ns":569798128},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192880,"id":974,"clock":1726661566,"ns":569814795},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192900,"id":975,"clock":1726661566,"ns":569831045},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192920,"id":976,"clock":1726661566,"ns":569848253},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192940,"id":977,"clock":1726661566,"ns":569864836},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192960,"id":978,"clock":1726661566,"ns":569881045},{"itemid":47302,"value":"err critical 20 err","lastlogsize":192980,"id":979,"clock":1726661566,"ns":569918253},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193000,"id":980,"clock":1726661566,"ns":569937503},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193020,"id":981,"clock":1726661567,"ns":578191947},{"itemid":47302,"value":"err critical 20 err","lastlogsize":193040,"id":982,"clock":1726661567,"ns":578252489},{"itemid":47302,"value" ...
Expected:
Exponential backoff is used to reduce network load.