Alex Rivera | Logout

How to connect to JMX agent using python

Asked 2010-08-16T06:37:13.833
10

I am working on custom monitoring system to my server.

the application is developed using python and Django.

The server is running java web applications and I need to monitor the JVM under which the application server is running, so I start the applications with enable the JMX.

Now I need to connect my python application to the JVM JMX agent.

Is there any way to get that?

I have read about the HtmlAdapterServer, that enable managing JMX MBeans from specific url but I do not know how can I use it?

Thanks in advance and best regards

Edit
Report

1 Answer

2

There is a reference implementation of a WebServices based JMXServer you can deploy on your server. Based on the docs, it is possible to use VB Scripting to invoke JMX operations, so I would assume you could use Python too.

Update:

Jolokia provides an HTTP/REST API to access JMX MBeanServers. This should be easily invoked by a python client.

answered 2010-10-17T20:41:52.020

Your Answer