cpicton
02-03-2007, 03:28
Hi
I am trying to get UserParameters with arguments working.
I have the following in my agent.conf:
UserParameter=mysql , /usr/local/scripts/zabbix/mysql-stats $1
(I have tried with or without the $1)
When I run zabbix_get -s`hostname` -k 'mysql[Questions]', The parameter (Questions) never gets passed to my script (not in command line, stdin, or environment)
What am I doing wrong here?
I am trying to get UserParameters with arguments working.
I have the following in my agent.conf:
UserParameter=mysql , /usr/local/scripts/zabbix/mysql-stats $1
(I have tried with or without the $1)
When I run zabbix_get -s`hostname` -k 'mysql[Questions]', The parameter (Questions) never gets passed to my script (not in command line, stdin, or environment)
What am I doing wrong here?