-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.4.2
-
None
-
None
-
Windows server 2019
-
Support backlog
We recommend to use Active agent configuration for Windows monitoring. In this case there is no need SERVER parameter in configuration file. So during installation from *.msi package SERVERACTIVE and HOSTNAME addition parameter could be listed only. But msiexec.exe installation fails if there not set SERVER parameter. Documentation.
Steps to reproduce:
Download windows agent2 7.4.2 and run:
msiexec.exe /l*v "C:\package.log" /i "C:\zabbix_agent-7.4.2-windows-amd64-openssl.msi" /qn+ SERVERACTIVE=my_proxy1.local;my_proxy2.local HOSTNAME=my_agent_active
You should get failure message.
Then add SERVER=my_server_dns.local and run. The installation should succeed.
// Some comments here public String getFoo() msiexec.exe /l*v "C:\package.log" /i "C:\zabbix_agent-7.4.2-windows-amd64-openssl.msi" /qn+ SERVERACTIVE=my_proxy1.local;my_proxy2.local HOSTNAME=my_agent_active SERVER=my_server_dns.local
Expected behaviour
Installation should succeed after running first command without SERVER parameter
msiexec.exe /l*v "C:\package.log" /i "C:\zabbix_agent-7.4.2-windows-amd64-openssl.msi" /qn+ SERVERACTIVE=my_proxy1.local;my_proxy2.local HOSTNAME=my_agent_active
- part of
-
ZBXNEXT-7536 MSI installer HostnameItem parameter
-
- Ready for QA
-