Hi,
we are running Zabbix 6.0.7
I don't think it's a Zabbix bug per se. I have a host running a program, this program creates two processes with the same name when run. So I check these two processes and the trigger responds if less than two and starts an action that executes a script.
This script is a Powershell one-liner and starts the above program, according to the logs the command arrived at the Zabbix Agent but the program is not visible.
If I change the script and create a folder instead, that folder is created. So Zabbix -> Remote Command works.
My guess is that the Zabbix Agent is not running the program as the logged in user but as System etc.
How can I tell the Zabbix agent to start the program with the registered user so that I can also use it?
we are running Zabbix 6.0.7
I don't think it's a Zabbix bug per se. I have a host running a program, this program creates two processes with the same name when run. So I check these two processes and the trigger responds if less than two and starts an action that executes a script.
This script is a Powershell one-liner and starts the above program, according to the logs the command arrived at the Zabbix Agent but the program is not visible.
If I change the script and create a folder instead, that folder is created. So Zabbix -> Remote Command works.
My guess is that the Zabbix Agent is not running the program as the logged in user but as System etc.
How can I tell the Zabbix agent to start the program with the registered user so that I can also use it?
Comment