MySQL PMDA
=============

Export information from the mysql extended status.

(See NOTES for some notes about this PMDA)

Metrics
=======

The file ./help contains descriptions for all of the metrics exported
by this PMDA.

Once the PMDA has been installed, the following command will list all
the available metrics and their explanatory "help" text:

	$ pminfo -fT mysql

Please note that a lot of metrics requires knowledge of how SQL/MySQL
works, so they cannot be fully explained in short help text. Please
refer to MySQL documentation for more detailed explanation where
necessary.

Installation
============

 +  # cd /var/pcp/pmdas/mysql

 +  Check that there is no clash in the Performance Metrics Domain
    defined in ./domain.h and the other PMDAs currently in use
    (/etc/pmcd.conf).  If there is, edit ./domain.h to choose another
    domain number.

 +  Then simply use

	# ./Install

    and choose both the "collector" and "monitor" installation
    configuration options.

    Everything else is automated.

De-installation
===============

 +  Simply use

	# cd /var/pcp/pmdas/mysql
	# ./Remove

Troubleshooting
===============

 +  After installing or restarting the agent, the PMCD log file
    (/var/adm/pcplog/pmcd.log) and the PMDA log file
    (/var/adm/pcplog/mysql.log) should be checked for any warnings
    or errors.
