-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.0.8
-
None
-
Sprint candidates
Hi,
**
I have a mix of hosts/proxies with both IPv4 and IPv6, and some proxies running only on IPv6.
After upgrading from 6.X to 7.0.8, I noticed that many Zabbix agent hosts were unavailable, including hosts that are monitored by proxies and the server, which has both IPv4 and IPv6.
All hosts are configured with "DNS names". When I change them to "IP addresses" and insert their IPv6 addresses, they work again.
Steps to reproduce:
- Configure a proxy with IPv6 only and monitor an agent that has both IPv4 and IPv6.
- Configure the host to be monitored by its DNS name, which resolves both IPv4 and IPv6.
Result:
This is a log from an IPv6-only proxy that cannot connect to a host which has both IPv4 and IPv6:
75126:20250117:163846.857 In zbx_async_check_agent() key:'net.if.in[igb0]' host:'himawari.x.y.com' addr:'himawari.x.y.com' conn:'TLS with PSK' 75126:20250117:163846.857 In zbx_is_ip4() ip:'himawari.x.y.com' 75126:20250117:163846.857 End of zbx_is_ip4():FAIL 75126:20250117:163846.857 In zbx_is_ip6() ip:'himawari.x.y.com' 75126:20250117:163846.857 End of zbx_is_ip6():FAIL 75126:20250117:163846.857 In zbx_is_ip4() ip:'himawari.x.y.com' 75126:20250117:163846.857 End of zbx_is_ip4():FAIL 75126:20250117:163846.857 In zbx_is_ip6() ip:'himawari.x.y.com' 75126:20250117:163846.857 End of zbx_is_ip6():FAIL 75126:20250117:163846.857 End of zbx_async_check_agent():SUCCEED 75126:20250117:163846.858 In agent_task_process() step 'init' event:0 itemid:43726 addr:210.231.Y.Z 75126:20250117:163846.858 In zbx_is_ip4() ip:'210.231.Y.Z' 75126:20250117:163846.858 End of zbx_is_ip4():SUCCEED 75126:20250117:163846.858 In process_async_result() key:'system.users.num' host:'himawari.x.y.com' addr:'himawari.x.y.com' 75126:20250117:163846.858 finished processing itemid:43726 processing:2 75126:20250117:163846.858 End of process_async_result():NETWORK_ERROR 75126:20250117:163846.858 End of async_event():stop 75126:20250117:163846.858 End of async_dns_event() Zabbix agent item "net.if.out[igb0]" on host "himawari.x.y.com" failed: first network error, wait for 15 seconds ... temporarily disabling Zabbix agent checks on host "himawari.x.y.com": interface unavailable
Expected:
Zabbix agent working on IPv6 and DNS name.