Zabbix Agent 4.4 for Win

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Fixed
    • Priority: Trivial
    • 5.0 (plan)
    • Affects Version/s: 4.4.4, 4.4.5
    • Component/s: Documentation (D)
    • None
    • Environment:
      Win 2019 Core amd 64; Zabbix Agent 4.4.5, Zabbix Agent 4.4.4 with and without openssl
    • 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

            Assignee:
            Viktors Tjarve
            Reporter:
            Rolf Hebgen
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: