Ad Widget

Collapse

Agent Journaling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryanknapper
    Junior Member
    • Mar 2005
    • 13

    #1

    Agent Journaling

    I'm sorry if this is a repost, but I searched and couldn't find anything similar.

    Is there anyway, currently or in a future version, for agents to continue gathering data while the server is offline, then to upload it when the server returns so there are no gaps in the record?
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Presently this is not possible.

    The closest you can get would be to use a proxy, but again you have the challenge of what if the proxy goes offline.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • bbrendon
      Senior Member
      • Sep 2005
      • 870

      #3
      Initially I thought BufferSize and BufferSend were for this purpose, but they are for reducing the number of TCP connections that need to be opened to the server.
      Unofficial Zabbix Expert
      Blog, Corporate Site

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by ryanknapper
        Is there anyway, currently or in a future version, for agents to continue gathering data while the server is offline, then to upload it when the server returns so there are no gaps in the record?
        Sure, it is already supported! If you use active checks, the data is buffered on agent side even if there are no comms. When Zabbix server is back, agent will start sending of the buffered data.

        Parameters BufferSize and BufferSend controls size of the buffer.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • nmail_uk
          Member
          • May 2009
          • 65

          #5
          Originally posted by Alexei
          Sure, it is already supported! If you use active checks, the data is buffered on agent side even if there are no comms. When Zabbix server is back, agent will start sending of the buffered data.
          Ooh! This was one of my worries with Zabbix (actually I'm in the process of implementing a HA server cluster to ensure Zabbix server is always available.)

          I've just switched all my agent checks to active so I'm very glad to have read this

          Are these checks buffered infinitely? Or will it buffer so many? If so many, is it possible to calculate how long the server can be off-line before results are "lost" ?

          Comment

          Working...