Windows agent2 msiexec installation obliged SERVER parameter

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.4.2
    • Component/s: None
    • None
    • Environment:
      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
      

            Assignee:
            Zabbix Development Team
            Reporter:
            Genadijs Jeniceks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: