Difference between revisions of "AppSuite:ImageConverterMonitoring"

m (OX Imageconverter)
m
Line 18: Line 18:
 
<pre>
 
<pre>
 
# /opt/open-xchange/sbin/showruntimestats --port 9995 -I
 
# /opt/open-xchange/sbin/showruntimestats --port 9995 -I
 +
</pre>
 +
 +
=== OX Imageconverter and munin ===
 +
 +
The Imageconverter uses a different port to provide monitoring data via Jolokia. The corresponding oxJolokiaURL has to be configured with an entry in the settings.
 +
 +
<pre>
 +
[ox_imageconverter*]
 +
env.oxJolokiaUrl http://localhost:8005/monitoring/jolokia
 +
</pre>
 +
 +
== Further Reading ==
 +
 +
Further details about accessing JMX data via Jolokia are described in an [[Jolokia_LoginCounter_HOWTO]].
 +
 +
A call derived from this example for OX Imageconverter looks like
 +
 +
<pre>
 +
$ curl http://yourname:yourpassword@localhost:8005/monitoring/jolokia/read/com.openexchange.imageconverter:name=ImageConverterMonitoring/CacheKeyCount
 +
{"request":{"mbean":"com.openexchange.imageconverter:name=ImageConverterMonitoring","attribute":"CacheKeyCount","type":"read"},"value":232,"timestamp":1528111005,"status":200}
 +
</pre>

Revision as of 11:22, 4 June 2018

OX Imageconverter Monitoring

General

The Open-Xchange JMX offers the ability to fetch runtime information of the Java virtual machine, and about the Open-Xchange Middleware (aka groupware backend) including Imageconverter.

For general information about the JMX interface see: OX_monitoring_interface

The usage of Jolokia to access monitoring data is described in the article Jolokia

Plugins are available for integration in the munin monitoring framework: OX_munin_scripts

OX Imageconverter

Monitoring data for Imageconverter can be obtained after installation of the package open-xchange-munin-scripts-jolokia. It uses Jolokia if available and configured.

Here is a list of sample data provided by

# /opt/open-xchange/sbin/showruntimestats --port 9995 -I

OX Imageconverter and munin

The Imageconverter uses a different port to provide monitoring data via Jolokia. The corresponding oxJolokiaURL has to be configured with an entry in the settings.

[ox_imageconverter*]
env.oxJolokiaUrl http://localhost:8005/monitoring/jolokia

Further Reading

Further details about accessing JMX data via Jolokia are described in an Jolokia_LoginCounter_HOWTO.

A call derived from this example for OX Imageconverter looks like

$ curl http://yourname:yourpassword@localhost:8005/monitoring/jolokia/read/com.openexchange.imageconverter:name=ImageConverterMonitoring/CacheKeyCount
{"request":{"mbean":"com.openexchange.imageconverter:name=ImageConverterMonitoring","attribute":"CacheKeyCount","type":"read"},"value":232,"timestamp":1528111005,"status":200}