Hi,
I was facing a small issue concerning the permission for running a script in Zabbix Agent ! Eventually , I was trying to see how it works by adding in zabbix_agentd.conf :
UserParameter=test,/home/script_test.sh
scritpt_test.sh just small script : echo 10
Permission for the script have been changed to chmod a+x ...Even with chmod 777
The zabbix_agemtd.log shows :
sh: /home/script_test.sh : permission denied !!
I am running Zabbix 2.2 both server and agent with zabbix accounts !
Any hints
Thanks in advance !
I was facing a small issue concerning the permission for running a script in Zabbix Agent ! Eventually , I was trying to see how it works by adding in zabbix_agentd.conf :
UserParameter=test,/home/script_test.sh
scritpt_test.sh just small script : echo 10
Permission for the script have been changed to chmod a+x ...Even with chmod 777
The zabbix_agemtd.log shows :
sh: /home/script_test.sh : permission denied !!
I am running Zabbix 2.2 both server and agent with zabbix accounts !
Any hints
Thanks in advance !
Comment