Problem with Percona Monitoring

Hello!
I adjust monitor Percona Server for instructions: [url]http://www.percona.com/doc/percona-monitoring-plugins/1.1/zabbix/index.html#installation-instructions[/url]
All goes well until the test script:

/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh gg

gives me an error

/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh gg 
ERROR: run the command manually to investigate the problem: /usr/bin/php -q /var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php --host localhost --items gg

but if manually start

/usr/bin/php -q /var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php --host 127.0.0.1 --items gg
gg:1496329391
  • there is no problem, the value is issued.

Just normally works the same script on runnning-slave -

/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh running-slave
1

Zabbix server value is not shown in the values ​​of the Items that same error

/var/lib/zabbix/percona/scripts/get_mysql_stats_wrapper.sh gg
ERROR: run the command manually to investigate the problem: /usr/bin/php -q /var/lib/zabbix/percona/scripts/ss_get_mysql_stats.php --host localhost --items gg

I ask your help to get to work as a monitor.