Steps to reproduce:
- Install Zabbix Agent 2 with MSI:
SET ZBXDIR=%ProgramFiles%\Zabbix
SET ZBXCONF=%ZBXDIR%\zabbix_agent2.conf
FOR /F "tokens=* USEBACKQ" %g IN (`"PowerShell.exe -nologo -command ([System.Net.Dns]::GetHostByName(($env:computerName))).Hostname.ToLower()"`) do (SET "HNAME=%g")
msiexec /l* log.txt /i zabbix_agent2-5.4.2-windows-amd64-openssl.msi /qn^
LOGTYPE=file^
LOGFILE="%ZBXDIR%\zabbix_agent2.log"^
SERVER=zabbix-proxy-01.test.com^
SERVERACTIVE=zabbix-proxy-01.test.com^
HOSTNAME="%HNAME%"^
TIMEOUT=30^
ENABLEPATH=1^
INSTALLFOLDER="%ZBXDIR%"
Result:
- Check config:
...-
- Option: LogFile
-
- Log file name for LogType 'file' parameter.
# - Mandatory: yes, if LogType is set to file, otherwise no
- Default:
- LogFile=c:\zabbix_agent2.log
-
-
- Option: LogFileSize
...
- Option: LogFileSize
-
Expected:
LogFile=C:\Program Files\Zabbix\zabbix_agent2.log
- duplicates
-
ZBXNEXT-6428 Separate agent 2 configuration files into files for each plugin
- Closed