Ad Widget

Collapse

How often active check item values are sent to the server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yurtesen
    Senior Member
    • Aug 2008
    • 130

    #1

    How often active check item values are sent to the server?

    The documentation says: https://www.zabbix.com/documentation...concepts/agent
    "Active checks require more complex processing. The agent must first retrieve a list of items from Zabbix server for independent processing. Then it will periodically send new values to the server.​"
    However it does not say how often the values are sent to the server. There is only mention if "RefreshActiveChecks" parameter which seems to determine how often agent retrieves items from Zabbix server.
    So how is the value send interval determined?

    Thanks!​
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The time interval for fetching item values and sending them to the Zabbix server is the interval set in the "Update interval" in the item's settings, just like passive items. The setting "RefreshActiveChecks" is a setting to specify how often the monitoring setting information for each host is retrieved from the Zabbix server. In other words, adding an item on the Zabbix server does not update the Zabbix agent with real-time active check item information.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Originally posted by yurtesen
      However it does not say how often the values are sent to the server.​
      Well... it does, but on agent config options page..
      There are BufferSend and BufferSize parameters, which have some influence on how often data is sent back to proxy/server

      So by default data (if there is any) is sent every 5 sec or if there is 100 values in buffer.

      Comment

      • yurtesen
        Senior Member
        • Aug 2008
        • 130

        #4
        cyber thanks. This is very interesting. Is there a way to monitor the zabbix-agent to see how much it sleeps between sends or how often it connects? and how many items does it send at a time? Can zabbix-agent monitor itself?
        I guess it would be interesting to see how often active agent fails to connect to server etc. also. There can be a lot of interesting metrics to monitor.

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          There is a lot of internal items about proxy and server, but not for agent.. https://www.zabbix.com/documentation...types/internal
          I guess connect failures are written into logfile.

          Comment

          • yurtesen
            Senior Member
            • Aug 2008
            • 130

            #6
            Hmm I made a feature request. I can live without it. But I think it might be interesting to know what the zabbix-agent is up to..


            thanks!

            Comment

            Working...