Monitoring Java application with Python

Jolikia is an http-jmx that can help you : http://www.jolokia.org


You could use jython to interface with Java's JMX libraries.


Your best bet would be to utilize Jython (http://jython.org) for this task. It can call all of the fancy JMX stuff without you having to rewrite the binary protocol stuff that it uses, in the comfort of Python syntax.

Note, however, that Jython isn't 100% compatible with CPython (usually library related stuff), though in practice it's pretty darn good. The current version of Jython seems to support the language defined by CPython 2.7.

Tags:

Python

Java

Jmx