Error while starting Agent with Custom HostnameItem which use "system.run[echo [...]]"

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 7.2.6
    • Component/s: Agent2 (G)
    • None

      Steps to reproduce:

      1. We use a custom Name for multiple Agents
      2. HostnameItem=system.run[echo InternalCompany_%computername%]

      Result:
      Starting of Agent ends in Error:

      ERROR: Failed to handle Windows service: cannot process configuration: cannot get system hostname using "system.run[echo InternalCompany_%computername%]" item specified by "HostnameItem" configuration parameter: Timeout occurred while gathering data.
      Expected:
      zabbix_agent2 [10724]: 'Zabbix Agent 2 [InternalCompany_Servername]' started successfully

       

      After downgrade to Version 7.2.5 everything works normal

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

              Created:
              Updated:
              Resolved: