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

Zabbix Agent 4.4 for Win

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.0 (plan)
    • 4.4.4, 4.4.5
    • Documentation (D)
    • None
    • Win 2019 Core amd 64; Zabbix Agent 4.4.5, Zabbix Agent 4.4.4 with and without openssl
    • Team A
    • Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • 1

      Steps to reproduce:

      1. Update from Zabbix Agent 3.4 to Zabbix Agent 4.4.4/5 amd 64 for Win
      2. Configure HostnameItem=system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.toLower()"] in zabbix_agentd.win.conf
      3. start zabbix_agentd.exe -c zabbix_agentd.win.conf -

      Result:

       zabbix_agentd.exe [10812]: Warning: failed to get system hostname from [system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.toLo wer()"]])
      zabbix_agentd.exe [10812]: ERROR: "Hostname" configuration parameter is not defined

      Expected:
      zabbix agent should execute the system.run  command as documented here:

      https://www.zabbix.com/documentation/current/manual/appendix/config/zabbix_agentd_win

            viktors.tjarve Viktors Tjarve
            coffeejunkie Rolf Hebgen
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: