What steps will reproduce the problem?
1. run check_jmx against remote host:
./check_jmx -U service:jmx:rmi:///jndi/rmi://172.24.4.8:8686/jmxrmi -O
java.lang:type=Memory -A NonHeapMemoryUsage -K used -vvvv
What is the expected output? What do you see instead?
expected: normal plugin output
instead:
JMX CRITICAL - Connection refused to host: 127.0.0.2; nested exception is:
java.net.ConnectException: Connection refused connecting to java.lang:type=Memory by URL service:jmx:rmi:///jndi/rmi://172.24.4.8:8686/jmxrmijava.rmi.ConnectException: Connection refused to host: 127.0.0.2; nested exception is:
java.net.ConnectException: Connection refused
it tries to connect to 127.0.0.2 instead of 172.24.4.8
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Description: Ubuntu 8.04.3 LTS
jmxquery 1.0
Please provide any additional information below.
Original issue reported on code.google.com by bbosch...@gmail.com on 27 Sep 2010 at 9:10
Original issue reported on code.google.com by
bbosch...@gmail.com
on 27 Sep 2010 at 9:10