-
Problem report
-
Resolution: Fixed
-
Major
-
6.0.24rc1, 6.4.9rc1, 7.0.0alpha8, 7.0 (plan)
-
None
-
3
Steps to reproduce:
Use any of the options twice for zabbix_agent2 or zabbix_web_server, for example:
sbin/zabbix_agent2 --test-config -c etc/zabbix_agent2.conf --test-config -c etc/zabbix_agent2.conf Validating configuration file "etc/zabbix_agent2.conf" Validation successful
Note: in the provided example the new option from ZBXNEXT-1400 is used
Result:
Success
Expected:
Check for duplicated options should be present for agent2 and web service, same as for other components. In case of duplicates, error message should be displayed. Example, using same options for agentd:
sbin/zabbix_agentd --test-config -c etc/zabbix_agentd.conf --test-config -c etc/zabbix_agentd.conf zabbix_agentd [135687]: option "-c" or "--config" specified multiple times zabbix_agentd [135687]: option "-T" or "--test-config" specified multiple times