Hello, how are you ?
I need some help with a custom userparameter.
I have this userparameter: UserParameter=bacula.check[*],php /etc/zabbix/zabbix_agentd.d/job_status.php $1 $2
If I run this script on client side with this command: php /etc/zabbix/zabbix_agentd.d/job_status.php 25 2 the command returns OK
But if I run this commando from zabbix server with the command: zabbix_get -s x.x.x.x -k bacula.check 25 2 the command don't return anything.
In the zabbix_agentd.log I have this log: EXECUTE_STR() command:'php /etc/zabbix/zabbix_agentd.d/job_status.php ' len:177 cmd_result
The data inputed on the zabbix_get command don't are running.
Anyone could help me ?
I need some help with a custom userparameter.
I have this userparameter: UserParameter=bacula.check[*],php /etc/zabbix/zabbix_agentd.d/job_status.php $1 $2
If I run this script on client side with this command: php /etc/zabbix/zabbix_agentd.d/job_status.php 25 2 the command returns OK
But if I run this commando from zabbix server with the command: zabbix_get -s x.x.x.x -k bacula.check 25 2 the command don't return anything.
In the zabbix_agentd.log I have this log: EXECUTE_STR() command:'php /etc/zabbix/zabbix_agentd.d/job_status.php ' len:177 cmd_result
The data inputed on the zabbix_get command don't are running.
Anyone could help me ?
Comment