Jeff Mesnil

Monitoring Weblogic 9.2 with JMX and JRuby

From Tim Koopmans:

After getting nowhere with lack luster HP support, I turned to the power of the Open Source community and got a very simple script up and running to remotely monitor Weblogic JVM Performance and JMS queues using JMX and JRuby.

[...]

This script will enumerate JVM performance and also JMS queue depths in around 50 lines of code

That’s a good example of the conciseness that JRuby brings to the Java platform: in 50 lines of code, Tim connects to a remote Weblogic MBean server, retrieves attributes about memory usage and JMS queue and stores them in a CSV file.

Comments

  • Lavanya says:

    hi Tim,

    Will you be able to share this code with us, we have been trying to set up monitoring for managed servers thorugh JMX and SiteScope in our weblogic 9.2 and weblogic 10 domains with no successful attempts.

    Thanks, Lavanya.

  • Comments closed