Just to add a little more detail about the JMX client.  We are using the
vanilla Open Source Nagios JMX Plugin called check_jmx
(http://snippets.syabru.ch/nagios-jmx-plugin/).  We are using it to monitor
a number Tomcat web applications without issue.

The full command that is executed from Nagios as follows.

check_jmx -U service:jmx:rmi:///jndi/rmi://work-laptop:1099/jmxrmi/camel -O
"org.apache.camel:context=work-laptop/camelContext,type=consumers,name=FileConsumer(0x2c65b)"
-A State


The unicode hexadecimal value appended to the object name sure looks
suspicious.  However we tried omitting it but got the same not found error.

javax.management.InstanceNotFoundException:
org.apache.camel:context=work-laptop/camelContext,type=consumers,name=FileConsumer


Any ideas?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Monitoring-Camel-with-JMX-tp5646538p5646731.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to