-
Problem report
-
Resolution: Declined
-
Trivial
-
None
-
5.0.4
-
None
-
Windows Server
Steps to reproduce:
Server=10.10.1.111
ServerActive=10.10.1.111
- HostnameItem=system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]
Result:
2020/10/22 17:33:20.995363 starting manager 2020/10/22 17:33:21.001366 [0] processing update request (1 requests) 2020/10/22 17:33:21.001366 [0] registering new client 2020/10/22 17:33:21.001366 [0] adding new request for key: 'system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]' 2020/10/22 17:33:21.001366 [0] created direct exporter task for plugin 'SystemRun' itemid:0 key 'system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]' 2020/10/22 17:33:21.001366 [0] created configurator task for plugin SystemRun 2020/10/22 17:33:21.001366 plugin SystemRun: executing configurator task 2020/10/22 17:33:21.002364 executing direct exporter task for key 'system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]' 2020/10/22 17:33:21.002364 [SystemRun] Executing command:'powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"' 2020/10/22 17:33:21.260368 [SystemRun] command:'powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"' length:30 output:'C:\zabbix\scripts\ho' 2020/10/22 17:33:21.260368 executed direct exporter task for key 'system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]' 2020/10/22 17:33:21.760378 cannot process configuration: cannot get system hostname using "system.run[powershell -NonInteractive "C:\zabbix\scripts\hostname.ps1"]" item specified by "HostnameItem" configuration parameter: character ":" is not allowed in host name
Expected:
Getting hostname.domainname to make registration for all server with different domain after an massive MSI deploiment