Ad Widget

Collapse

Installing Zabbix 2 7v agent with custom configuration files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gordiy
    Junior Member
    • Sep 2024
    • 4

    #1

    Installing Zabbix 2 7v agent with custom configuration files

    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?
Working...