-
Incident report
-
Resolution: Fixed
-
Minor
-
None
agent daemon has the following configuration :
BufferSend=5 (default)
BufferSize=100 (default)
MaxLinesPerSecond=1
an item with key log[/tmp/logratefile3,,,100] has been created.
while being monitored, file /tmp/logratefile3 is instantly updated to have 100 lines with content of "1", "2" and so on up to 100
with the settings above, one would expect the agent to send all 100 values in a single connection. instead, first a single connection is made and single value of "1" is sent. then another connection is made, and 50 values are sent. then 49 values are sent in the last connction.
expected behaviour would be to send all 100 values in a single connection instead.
similar results are obtained with maxlines set to 200 per item - see attached logfiles zabbix_agentd_100.log and zabbix_agentd_200.log for items with maxlines set to 100 and 200, respectively.