I am trying to understand how the agent buffering works. In our environment we have unstable connections back to the server and thus the buffering would help our situation to ensure no data is lost. We are running v1.8 on Ubuntu.
From the documentation I see there are 2 parameters:
BufferSend: "Do not keep data longer than N seconds in buffer"
BufferSize: "Maximum number of values in a memory buffer. The agent will end all collected dat to Zabbix Server or Proxy if the buffer is full."
So if I have BufferSend = 5 then my understanding is that anything that has not been sent to the server successfully will be sent.
What happens if the communication to the server fails? Is the buffer still purged or is it only purged after a "success" received from the server?
If I have BufferSize set to 100 does that mean that if 100 values have not been sent to the server it will be sent. To me this means that 100 values have been received before the BufferSend (timeout) has occurred, so send anyway. Is this correct?
Again, what happens if the buffer is sent with 100 values, but it is not successful with the server? Are items in the buffer purged?
Really, that is my main question: In what circumstances would data be purged from the buffer and not sent to the server?
Thanks.
From the documentation I see there are 2 parameters:
BufferSend: "Do not keep data longer than N seconds in buffer"
BufferSize: "Maximum number of values in a memory buffer. The agent will end all collected dat to Zabbix Server or Proxy if the buffer is full."
So if I have BufferSend = 5 then my understanding is that anything that has not been sent to the server successfully will be sent.
What happens if the communication to the server fails? Is the buffer still purged or is it only purged after a "success" received from the server?
If I have BufferSize set to 100 does that mean that if 100 values have not been sent to the server it will be sent. To me this means that 100 values have been received before the BufferSend (timeout) has occurred, so send anyway. Is this correct?
Again, what happens if the buffer is sent with 100 values, but it is not successful with the server? Are items in the buffer purged?
Really, that is my main question: In what circumstances would data be purged from the buffer and not sent to the server?
Thanks.
Comment