Hi Guys,
In version 3.4 I was using
HostnameItem=system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.toLo wer()"]
go get the FQDN of the system for autoregistration.
In Windows Agent Version 4.4 the same command is not working anymore. It drops an
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
It looks like the system.run command is broken, even though it is documented here: https://www.zabbix.com/documentation...bix_agentd_win
Is there another trick to get the FQDN for autoregistration?
BTW: manual configuration is not possible. The OS is automatically deployed from a 3rd party software.
// coffeejunkie
In version 3.4 I was using
HostnameItem=system.run[powershell -NonInteractive "[System.Net.Dns]::GetHostByName(($env:computerName)).Hostname.toLo wer()"]
go get the FQDN of the system for autoregistration.
In Windows Agent Version 4.4 the same command is not working anymore. It drops an
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
It looks like the system.run command is broken, even though it is documented here: https://www.zabbix.com/documentation...bix_agentd_win
Is there another trick to get the FQDN for autoregistration?
BTW: manual configuration is not possible. The OS is automatically deployed from a 3rd party software.
// coffeejunkie
Comment