http://code.google.com/p/jmxsh/
An easy-to-use, scriptable, command-line interface to JMX servers based on Java/Tcl.