I have the following script on a RHEL host: /home/user1/myscript.sh
I have a trigger action set as 'Remote Command' with the command set to "/home/user1/myscript.sh".
When I go to Monitoring -> Hosts -> myhost -> scripts -> myscript, It says "Permission denied". I'm assuming because it's trying to run this as the zabbix agent user? How can I have it execute as user1?
I have a trigger action set as 'Remote Command' with the command set to "/home/user1/myscript.sh".
When I go to Monitoring -> Hosts -> myhost -> scripts -> myscript, It says "Permission denied". I'm assuming because it's trying to run this as the zabbix agent user? How can I have it execute as user1?
Comment