I've the zabbix-systemd-service-monitoring configured in several hosts, but in some cases on zabbix web I've this error Timeout while executing a shell script.
If I run the script manually all the services are detected but on the web not
I've tried to change the Timeout value on zabbix_agentd.conf and in some case the error disappear and another not. For those who can execute the services aren't detected.
Hello,
I've the zabbix-systemd-service-monitoring configured in several hosts, but in some cases on zabbix web I've this error Timeout while executing a shell script.
If I run the script manually all the services are detected but on the web not
[root@server1 ~]# /usr/local/bin/zbx_service_discovery.sh {"data":[{"{#SERVICE}": "firewalld"},{"{#SERVICE}": "nrpe"},{"{#SERVICE}": "ntpd"},{"{#SERVICE}": "postfix"},{"{#SERVICE}": "sshd"},{"{#SERVICE}": "service1"},{"{#SERVICE}": "service2"},{"{#SERVICE}": "zabbix-agent"}]}
I've tried to change the Timeout value on zabbix_agentd.conf and in some case the error disappear and another not. For those who can execute the services aren't detected.
Any idea what is wrong?
Thank you.