Hi Everyone,
I'm new to zabbix and really want to try this amazing tools.
I have a problem trying to get custom script in action working. I made simple custom shell script to be invoked in action. It's just few line of codes with just curl command being called.
I tried the script from the terminal and executed succesfully in less than 5s - 10s. But when I see the Reports->Action Log, the status was Failed and the Info was Timeout while executing a shell script.
I've tried increasing the Timeout parameter both in zabbix_server.conf and zabbix_agentd.conf to 30s, but it seems not working. I've also tried changing the permission of the script that is located in /usr/lib/zabbix/alertscripts to 777 and chown to zabbix user.
I see the log from zabbix_server.log and it looks like just:
126:20190313:103327.204 In zbx_popen() command:'/usr/lib/zabbix/alertscripts/sendMessage.sh'
126:20190313:103327.206 End of zbx_popen():8
126:20190313:103327.206 zbx_popen(): executing script
I installed zabbix 4 in ubuntu 16.04 using zabbix appliance.
Any ideas or suggestions for the problem? Really need help.
Thank you.
I'm new to zabbix and really want to try this amazing tools.
I have a problem trying to get custom script in action working. I made simple custom shell script to be invoked in action. It's just few line of codes with just curl command being called.
I tried the script from the terminal and executed succesfully in less than 5s - 10s. But when I see the Reports->Action Log, the status was Failed and the Info was Timeout while executing a shell script.
I've tried increasing the Timeout parameter both in zabbix_server.conf and zabbix_agentd.conf to 30s, but it seems not working. I've also tried changing the permission of the script that is located in /usr/lib/zabbix/alertscripts to 777 and chown to zabbix user.
I see the log from zabbix_server.log and it looks like just:
126:20190313:103327.204 In zbx_popen() command:'/usr/lib/zabbix/alertscripts/sendMessage.sh'
126:20190313:103327.206 End of zbx_popen():8
126:20190313:103327.206 zbx_popen(): executing script
I installed zabbix 4 in ubuntu 16.04 using zabbix appliance.
Any ideas or suggestions for the problem? Really need help.
Thank you.
Comment