Ad Widget

Collapse

Agent 2 MSI Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spyder0552
    Junior Member
    • Sep 2022
    • 1

    #1

    Agent 2 MSI Question

    I am attempting to create a MST file so that I can deploy the Agent2 via a GPO in Windows Server 2019.
    For the MST, I have added 3 properties
    Server = Myzabbixserver.domain.com
    ServerActive=Myzabbixserver.domain.com
    HostMetaData=Windows

    Deploying this via GPO does not work and I don't really get any leads as to what is failing.
    If I run the msi manually (msiexec /i), the application starts the install. However, the wizard comes up with the check box to accept the license agreement. Could this be what is stopping the deployment? If so, is there a property/value I can set in the MST to indicate that I accepted the license agreement.

    Note: the server properties above are in all upper case in the MST file.

    Any ideas? I checked this link and I don't see an option to specify the acceptance of the license agreement.

  • guille.rodriguez
    Senior Member
    • Jun 2022
    • 114

    #2
    I deploy with GPO (scheduled task every day at 9.00 am) executing a batch script with this pre-checks

    if "Zabbix Agent 2" service exist --> do nothing
    if not

    -> delete C:\Program Files\Zabbix Agent 2\ (folder and subfolders, the reason of this is because I deploy configs via GPO, so... the folder and config can exist)
    -> Install with MSI parameters
    -> Stop Zabbix Agent service
    -> Execute gpupdate /force <- get the config again
    -> Start Zabbix Agent service

    Comment

    Working...