Hello, I ask for help, there is an agent version 7 (zabbix_agent2-7.0.3-windows-amd64-openssl.msi)
The task is to install the agent on a workstation with changes in the configuration file (Server=192.168.10.156 and Plugins.Smart.Path=C:\Program Files\smartmontools\bin\smartctl.exe)
there is a .bat file with the code msiexec /i "\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2-7.0.3-windows-amd64-openssl.msi" /qn SERVER=192.168.10.156 - this is how the agent is installed and the server is written into the config file
The agent instructions have a CONF parameter (The full pathname to a custom configuration file. Example: CONF=c:\full\path\to\user.conf)
I use this parameter, the agent is not installed. (msiexec /i "\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2-7.0.3-windows-amd64-openssl.msi" /qn CONF="\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2.conf")
Can you tell me how to implement this task?
The task is to install the agent on a workstation with changes in the configuration file (Server=192.168.10.156 and Plugins.Smart.Path=C:\Program Files\smartmontools\bin\smartctl.exe)
there is a .bat file with the code msiexec /i "\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2-7.0.3-windows-amd64-openssl.msi" /qn SERVER=192.168.10.156 - this is how the agent is installed and the server is written into the config file
The agent instructions have a CONF parameter (The full pathname to a custom configuration file. Example: CONF=c:\full\path\to\user.conf)
I use this parameter, the agent is not installed. (msiexec /i "\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2-7.0.3-windows-amd64-openssl.msi" /qn CONF="\\install\Soft\Deploy\Zabbix agent 2\zabbix_agent2.conf")
Can you tell me how to implement this task?