Hi all!<div><br></div><div>I'm trying to use check_jmx to check the size of my ActiveMQ queue.  The command I'm using is </div><div><br></div><div><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)">check_jmx -U service:jmx:rmi:///jndi/rmi://</span><font color="#770000" style="font-family:arial,serif;font-size:11px"><b><external_ip></b></font><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)">:</span><font color="#007700" style="font-family:arial,serif;font-size:11px"><b>1099</b></font><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)">/jmxrmi -O </span><font color="#777700" style="font-family:arial,serif;font-size:11px"><b>org.apache.activemq:BrokerName=TrackingWebAMQBroker61616,Type=Queue,Destination=queue</b></font><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)"> -A </span><font color="#000077" style="font-family:arial,serif;font-size:11px"><b>QueueSize</b></font><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)"> -w </span><font color="#770077" style="font-family:arial,serif;font-size:11px"><b>500</b></font><span style="font-family:arial,serif;font-size:11px;background-color:rgb(219,219,219)"> -c </span><font color="#007777" style="font-family:arial,serif;font-size:11px"><b>1000</b></font> </div>
<div><br></div><div>I've tried it both from my monitoring machine and the machine the queue is running on, but whenever I try it from the command line on either, it just sits there.  The nagios monitoring page says 
<span style="font-family:arial,serif;font-size:11px;background-color:rgb(255,187,187)">(Service Check Timed Out) </span> </div><div><br></div><div>The ActiveMQ is running in a web application in Geronimo 2.2.1.</div><div>
<br></div><div>I'm able to get it to work on a local machine, but I'm running into this problem on an Amazon EC2 instance.<br clear="all"><div><br></div>-- <br>Jim Horner<br>Software Engineer<br>VisTracks, Inc.<br>
<a href="mailto:jim.horner@vistracks.com" target="_blank">jim.horner@vistracks.com</a><br>630.596.5437<br>
</div>