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

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

XMLWordPrintable

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

            zabbix.dev Zabbix Development Team
            Domekologe Domenick Waldvogel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: