-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
6.4.16
-
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:
- Change ServerActive value in config to nonexistent host (no matter IP or hostname).
- Change DebugLevel value in config to 4 (debug).
- Restart Zabbix Agent 2.
- Grep (-i) your agent log for messages containing sendHeartbeatMsg substring.
- 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.