Problem with blank spaces in mbean
Poll JMX attributes from Java based applications with Nagios
Brought to you by:
gropi
Hi,
Im having an issue when i use a mbean with blank space like 'StatisticsService=Statistics Service'
The scripts only take the first word, but not the complete string, so i can't check that mbean.
I try to put all the symbols to try to pass a different parameter to the script ("" '' ) but it doesn't work.
Any idea?
Thanks
PS: Great Work
Hi!
Please use a plus sign (+) instead of the space. It will be replaced with a space inside of the JBoss server when the MBean and attribute name is processed.
The description of this feature was missing from the docs. I'll fix that.
Chears,
Tobias
It works. Thanks you for the quick answer.