Hello,
I am working on having Zabbix start a Windows service when it detects the state change from "Running" to "Stopped". So far, everything is working fine. The issue I am running into is the Allowkey=system.run[]. When I use Allowkey=system.run[*], the script works. When I adjust it to use something stricter, the action trigger fails. I tried using various options like -AllowKey=system.run[powershell -Command "Start-Service*"], but it fails.
Error in Zabbix:

Has anyone been able to get Zabbix to start a Windows service? If so, what allowkey syntax did you use?
I am working on having Zabbix start a Windows service when it detects the state change from "Running" to "Stopped". So far, everything is working fine. The issue I am running into is the Allowkey=system.run[]. When I use Allowkey=system.run[*], the script works. When I adjust it to use something stricter, the action trigger fails. I tried using various options like -AllowKey=system.run[powershell -Command "Start-Service*"], but it fails.
Error in Zabbix:
Has anyone been able to get Zabbix to start a Windows service? If so, what allowkey syntax did you use?