Hi I have a problem with script and userparameter.

I have this configuration:

Code:
In zabbix-agent.conf
UserParameter=checkuserinit,/opt/scripts/initquery.sh

In initquery.sh
#!/bin/sh
echo `mysql -e 'select count(*) from registration_request
...