Ad Widget

Collapse

Zabbix Proxy sends data at higher rate than configured with DataSenderFrequency

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bajo
    Junior Member
    • Oct 2021
    • 2

    #1

    Zabbix Proxy sends data at higher rate than configured with DataSenderFrequency

    Hi,

    I'm testing an active Zabbix proxy of different versions 5.4 and 5.5 (not at the same time of course).
    I changed the DataSenderFrequency from 1 to 30, which according to documentation should only upload data from the proxy to the server every 30 seconds.
    Looking at the processes however, I often see the following

    Code:
    /usr/sbin/zabbix_proxy: data sender [sent 0 values in 1.003607 sec, sending data]
    /usr/sbin/zabbix_proxy: data sender [sent 0 values in 1.318640 sec, idle 1 sec]
    I'm trying to reduce the number of connections between the proxy and the server as Internet is only provided by a LTE connection with a limited data cap.

    I also checked the configured templates and items for the single host observed by this proxy, and I can't find any items that should be updated once per second. So, I'm a little bit confused as to who and why the data_sender tries to send any values at a 1 second interval and why does it even open a connection to the server (TLS encrypted with a certificate) when it often has 0 values to upload?
    The TLS connections to the server are quite obvious looking at wireshark.

    Any ideas are greatly appreciated.
    Thanks,
    Bajo
  • bajo
    Junior Member
    • Oct 2021
    • 2

    #2
    Thank you cyber . Seems I did not read this too carefully. In the meantime I found https://support.zabbix.com/browse/ZBXNEXT-4998 and build the proxy locally with an increased interval to better fit my need.
    As other people seem interested as well I might open a PR to make this configurable instead.

    Comment

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

      #3

      DataSenderFrequency no 1-3600 1 Proxy will send collected data to the server every N seconds. Note that active proxy will still poll Zabbix server every second for remote command tasks.

      Comment

      Working...