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

Agent/Agent 2 cmd install doesn't allow to undefine 'HOSTNAME=' making name static

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. https://www.zabbix.com/documentation/6.0/en/manual/installation/install_from_packages/win_msi
      2. Agent should use:
        Hostname
        HostnameItem=system.hostname
        
      1. Create install rule:
      msiexec /l*v log.txt /i zabbix_agent2-6.0.12-windows-amd64-openssl.msi /qn^
      SERVER=127.0.0.1,someserver.com^
      SERVERACTIVE=somerserver.com^
      TIMEOUT=6^
      ENABLEPATH=1^
      HOSTNAME=^
      HOSTINTERFACE=%COMPUTERNAME%.%USERDOMAIN%
      

      Result:
      Log will contain:

      ... HOSTNAME=HOSTINTERFACE=%COMPUTERNAME%.%USERDOMAIN% 
      

      This will fail installation.

      Expected:
      Ability to set dynamic Hostname configuration without post install scripting.

      Attachments

        Issue Links

          Activity

            People

              MVekslers Michael Veksler
              edgar.akhmetshin Edgar Akhmetshin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: