If a Zabbix agent collects ping statistics using active mode, and the zabbix server is unavailable for x amounts of collections, what will happen with the data collected during this period? Will all collected data be cached locally by the Zabbix agent and the delivered when the Zabbix server it back online again, or will the collected data be lost? Regards, Lars.
Ad Widget
Collapse
What happens with collected data, if the Zabbix server is offline for a short time?
Collapse
X
-
There is limited buffering capability in the classic agent, see the Buffer* options in the configuration file: https://www.zabbix.com/documentation.../zabbix_agentd
In agent 2 there is persistent buffering option, see PersistentBuffer*: https://www.zabbix.com/documentation.../zabbix_agent2
Markku -
About the BufferSize option, I remember reading something about half of the buffer being internally used for something and half used for something else, but I didn't find any fact right now. In any case, the persistent buffer in agent 2 is purpose-built for storing the data over longer periods of outages.
MarkkuComment
-
Thanks found it.
How to understand the function BufferSend anf BufferSize? BufferSend determines how often to send data, and BufferSize how much data to keep.
So if you want to make sure that data is delivered to the server, you would have low BufferSend and high BufferSize?
Regards, Lars.Comment
Comment