Hi
I am trying to get UserParameters with arguments working.
I have the following in my agent.conf:
(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:
Code:
UserParameter=mysql[*], /usr/local/scripts/zabbix/mysql-stats $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?