Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26968

Windows agent2 msiexec installation obliged SERVER parameter

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.4.2
    • None
    • None
    • 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
      

            zabbix.dev Zabbix Development Team
            gjeniceks Genadijs Jeniceks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: