[jboss-user] [Management, JMX/JBoss] - Strange results with twiddle.sh when Jboss is down

bcosnefroy do-not-reply at jboss.com
Fri Nov 24 08:24:52 EST 2006


I use twiddle.sh to monitor some attributes of my jboss server.
When the Jboss server is up, I can get without problem the attributes of the jmx-console.

However, if the server I request is down, twiddle.sh still return values (for example for FreeMemory).
I've tried to get the jboss.system:type=ServerInfo HostAddress attribute and I was surprised to see that the returned IP address is not the address of my server.

The following command:
.../twiddle.sh --server=MyServerIPAddress get "jboss.system:type=ServerInfo" HostAddress

returns another IP address which is the Ip Address of another Jboss server.

As I use twiddle.sh in the check_jmx script for Nagios, this is not really good to get values of another server when mine is down!

I use Jboss 4.0.2.

Is it a known bug of twiddle.sh? 
Does anyone know how twiddle.sh search for another Jboss server on the subnet and whether this is a desired behavior?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988394#3988394

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988394

More information about the jboss-user mailing list