Monitoring with a Java Management Extensions (JMX) Agent¶
It is possible to access monitoring information of the server using the Java Management eXtensions (JMX) standard. This information can be used to control the use of the server and audit the actions carried out on the data sources and/or the Virtual DataPort metadata.
The available monitoring information is:
General information on the server: number of active and inactive connections, memory usage, etc.
Configuration and accesses to the server cache.
Accesses to each data source.
Accesses to the views and stored procedures.
Transactions executed by the Virtual DataPort server.
DataPort also generates different types of JMX notifications whenever:
A DDL statement is executed. E.g.
CREATE VIEW, etc.
A DML statement is executed. E.g.
Transactions start or end.
In JMX, the information exported is displayed as a set of objects known
as MBeans. The MBeans exported by Virtual DataPort belong to the JMX domain
Any JMX client can be used to access the Virtual DataPort monitoring information and events. Visual VM and JConsole among others, have been successfully tested to access the information and events exported by Virtual DataPort.
It is also possible to access the MBeans from an external application, using the JMX API (Java Management eXtensions - JMX).
The section Using JavaTM VisualVM explains how to use VisualVM to monitor the Virtual DataPort server. The following subsections describe in further detail the information and events available in each of the following categories: general server information, general data source information, general cache information, information and events on DDL statements, information and events on DML statements and information and events on transactions.