20.3 Custom Data Collection

20.3.1 Custom.xml
20.3.2 Queries
20.3.3 Data Collection Attributes

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.

Note

custom.xml is validated against items-mysql-monitor.dtd .

.

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.