Hello i want remote run a powershell script from the zabbix server by action.. but not work. What do i wrong:
set on the zabbix_agentd.conf the next parameter (extern server):
UserParameter=BadblockCheck,powershell.exe -ExecutionPolicy Bypass -Nologo -NoProfile -file "C:\namepowershell.ps1"
How most i set the action.. Try much things but not work.
Set action > Operation
Execute on : Zabbix agent
Command: system.run[powershell.exe -ExecutionPolicy Bypass -Nologo -NoProfile -file "C:\namepowershell.ps1]
What do i wrong.. I have not much experience sorry for that.
And how can i check on the zabbix server that the remote command works? see nothing in the logging back
set on the zabbix_agentd.conf the next parameter (extern server):
UserParameter=BadblockCheck,powershell.exe -ExecutionPolicy Bypass -Nologo -NoProfile -file "C:\namepowershell.ps1"
How most i set the action.. Try much things but not work.
Set action > Operation
Execute on : Zabbix agent
Command: system.run[powershell.exe -ExecutionPolicy Bypass -Nologo -NoProfile -file "C:\namepowershell.ps1]
What do i wrong.. I have not much experience sorry for that.
And how can i check on the zabbix server that the remote command works? see nothing in the logging back