# This is the monitoring configuration for MySQL. # NOTE: This configuration needs to be hand-edited in order to work. # Look for DATABASE_NAME, STATS_USER, STATS_PASS, MYSQL_HOST and MYSQL_PORT to adjust your configuration file. LoadPlugin mysql # Each database needs a separate Database section. # Replace DATABASE_NAME in the Database section with the name of the database. # When using non-standard MySQL configurations, replace the below with #Host "MYSQL_HOST" #Port "MYSQL_PORT" Host "localhost" Port 3306 User "STATS_USER" Password "STATS_PASS" MasterStats true SlaveStats true # Uncomment the following line if you want to collect InnoDB metrics. #InnodbStats true