-
Documentation task
-
Resolution: Fixed
-
Trivial
-
4.4.4, 4.4.5
-
None
-
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:
- Update from Zabbix Agent 3.4 to Zabbix Agent 4.4.4/5 amd 64 for Win
- Configure HostnameItem=system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.toLower()"] in zabbix_agentd.win.conf
- 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