Hi,
I have a problem when trying to run a script.sh in Zabbix and I don’t know how to solve it.
I created a script.sh and when I run the test, it brings the value I want, but when I create the UserParameter in " vim /etc/zabbix/zabbix_agentd.conf " the item cannot collect, giving a timeout error, and when testing the userparameter on the server, this message appears:
zabbix_agentd [16602]: Warning: EnableRemoteCommands parameter is deprecated, use AllowKey=system.run[] or DenyKey=system.run[] instead
I’ve already changed the timeout to 30s since my script takes around 6 seconds to return the value, but this warning still appears and I can’t collect the data in the Zabbix item, has anyone managed to solve this problem?