Possible regression? similar to http://www.zabbix.com/forum/showthread.php?t=14972
I'm passing multiple arguments to a user parameter:
UserParameter=jmx.[*],/usr/bin/java -jar /tmp/check_jmx.jar -u B -U service:jmx:rmi:///jndi/rmi://$1:$2/jmxrmi -O "$3" -A "$4" -K used --username xxx --password xxx
When run the third parameter which contains a comma is being split despite being quoted.
/usr/sbin/zabbix_agent -t jmx.["pirelli","8991","java.lang:type=MemoryPool,name=Tenured Gen","Usage"]
jmx.[pirelli,8991,java.lang:type=MemoryPool,name=Tenured Gen,Usage] [t|JMX CRITICAL - objectName not found [java.lang:type=MemoryPool]]
The error output returned from the application called contains an 'objectName not found' error then shows the first half up to the comma of the third parameter I passed it.