Wednesday, March 16, 2011

jmxterm

one of the best utilities i have used... took me just a couple of mins to get started....

very helpful if you have to write your own monitoring of your applications using mbeans .. easily coupled with rrd and drraw it is a breeze... although you have tools like hyperic ... et al .. there is no greater fun than writing your monitoring solution...

more info once i have a readme on this... a simple how to..

using the following command - you can get the queue for the JMS topic

echo get -s -b org.apache.activemq:BrokerName=localhost,Destination=TASK.EVENT,Type=Topic QueueSize | java -jar jmxterm-1.0-alpha-4-uber.jar -l localhost:7010 -v silent -n

start your app with arguments like -Dcom.sun.management.jmxremote.port=7009 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

0 comments:

Post a Comment