This section describes how to configure custom data collections for the monitoring agent.
The monitoring agent can be configured to collect data directly from the MySQL server, using a query. This enables you to extend the functionality of the agent and create custom advisors which analyze the data collected by the custom data collection.
To create a custom data collection, you must add a class to
custom.xml, located in the
etc directory of your agent installation. Each
defined class is a custom data collection.
custom.xml is validated against
After defining the custom data collection, it is available to select in the Data Item drop-down menu on the Variable Assignment frame of the new Advisor page.
The following sections describe this process in detail.