Ad Widget

Collapse

Userparameter PHP doen't work with 1.8.11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Quentinc
    Junior Member
    • Apr 2012
    • 1

    #1

    Userparameter PHP doen't work with 1.8.11

    Hi,

    I'm a french network administrator using zabbix to check our 55 servers. I've recently update zabbix server and all zabbix agent in 1.8.11 exept 1. I'm using php script in userparameter to check some information in our software, but since the update in 1.8.11 these script doesn't work. In the last agent in 1.8.10 it's still working.

    I use UserParameter=online[*], /home/utils/custom_zabbix/saas/check_elmg_users.php $1 in the /etc/zabbix/zabbix-agentd.conf

    The php script is working fine in commande mode (like php /home/utils/custom_zabbix/saas/check_elmg_users.php test) but when zabbix-server call it, it return log: 5137:20120423:145602.115 Item [testnline[{HOSTNAME}]] error: Type of received value [Access denied for user 'zabbix'@'localhost' (using password: NO)] is not suitable for value type [Numeric (integer 64bit)]

    The only difference between the server is the version of zabbix.

    Do you know if we'll be fixed in a new version or if i can found a patch.

    Thanks in advance.

    Quentin C.
Working...