Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24739

HeartbeatFrequency is ignored for unavailable ServerActive host

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 6.4.16
    • Agent (G)
    • None

      Zabbix Agent 2 send Heartbeat-messages every 15 seconds regardless of HeartbeatFrequency value if host in ServerActive is unavailable.

      This is a problem in my case because it leads to 4 times increase of A/AAAA-requests to DNS with HeartbeatFrequency being set to 60 (by default).

      Steps to reproduce:

      1. Change ServerActive value in config to nonexistent host (no matter IP or hostname).
      2. Change DebugLevel value in config to 4 (debug).
      3. Restart Zabbix Agent 2.
      4. Grep (-i) your agent log for messages containing sendHeartbeatMsg substring.
      5. Check interval between consequent End of sendHeartBeatMsg() message (N-1 attempt) and In sendHeartbeatMsg() message (N attempt).

      Result:
      Interval between consequent End of sendHeartBeatMsg() message (N-1 attempt) and In sendHeartbeatMsg() message (N attempt) equals to ~15 seconds.

      Expected:
      Interval between consequent End of sendHeartBeatMsg() message (N-1 attempt) and In sendHeartbeatMsg() message (N attempt) equals to value specified in HeartbeatFrequency.

            mkudlacz Michal Kudlacz
            akhudushin Aleksandr Khudushin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: