How to connect to JMX agent using python [closed]
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.
Jpype is another option. Start jvm and code java to retrieve glassfish monitoring data. http://jpype.sourceforge.net/