Ad Widget

Collapse

What happens with collected data, if the Zabbix server is offline for a short time?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lbon
    Junior Member
    • Dec 2022
    • 14

    #1

    What happens with collected data, if the Zabbix server is offline for a short time?

    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.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    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

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1782

      #3
      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.

      Markku

      Comment

      • lbon
        Junior Member
        • Dec 2022
        • 14

        #4
        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

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1782

          #5
          Originally posted by lbon
          So if you want to make sure that data is delivered to the server, you would have low BufferSend and high BufferSize?​
          That's what I would say, yes.

          Markku

          Comment

          Working...