-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
7.4.2, 8.0.0alpha1 (master)
-
Support backlog
Steps to reproduce:
- Use the Host Wizard, enter IPv6 addresses as requested
- Deploy zabbix-agent via provided auto-deployment script
- check Zabbix-agent2 status
Result:
**
root@pridoc:~# cat /etc/zabbix/zabbix_agent2.conf | grep ^Server= Server=[2001:XXXX::111] root@pridoc:~# cat /etc/zabbix/zabbix_agent2.conf | grep ^ServerActive= ServerActive=[2001:XXXX::111]:10051
The script removes the port of the zabbix-servers address but leaves the brackets.
The Server-Parameter requests the address without brackets. Meanwhile ServerActive requires brackets for ipv6 addresses.
Removing the brackets from the Server-Parameter results in a startable Zabbix-agent2:
root@pridoc:~# vim.tiny /etc/zabbix/zabbix_agent2.conf root@pridoc:~# systemctl restart zabbix-agent2.service root@pridoc:~# systemctl status zabbix-agent2.service ● zabbix-agent2.service - Zabbix Agent 2 Loaded: loaded (/usr/lib/systemd/system/zabbix-agent2.service; enabled; preset: enabled) Active: active (running) since Sun 2025-09-14 09:44:38 CEST; 10s ago [...] root@pridoc:~# cat /etc/zabbix/zabbix_agent2.conf | grep ^Server= Server=2001:XXXX::111 root@pridoc:~# cat /etc/zabbix/zabbix_agent2.conf | grep ^ServerActive= ServerActive=[2001:XXXX::111]:10051
Expected:
Either remove the bracktes for Server and keep them for ServerActive via the install-zabbix.sh or require brackets at the Server-Parameter as well as at the ServerActive Parameter within the config
- duplicates
-
ZBX-26631 Host wizard IP address validation is not working
-
- Closed
-