The MySQL graphs are missing
First, ensure you are running the most recent version of agent.php.
To activate MySQL monitoring, you need to create a file named "wormly-mysql-config.php" in the same directory as agent.php.
In this file, place the following configuration parameters:
<?php
$mysqlenabled = true;
$mysqluser = ""; // Your MySQL username goes here
$mysqlpass = ""; // Your MySQL password goes here
$mysqlhost = "localhost:3306"; // Change this to your MySQL server address if necessary
// Note that a closing php tag is not required.
You can use an unprivileged MySQL user for this task - here's an example of how to create one:
GRANT USAGE ON test.* TO wormlyuser@localhost IDENTIFIED BY 'wormlypassword';
Not what you were looking for? Try a search:
Also in this topic:
- Can I monitor custom metrics? Are there plugins?
- Why are some of the graphs missing?
- Can I be alerted if a process stops running?
- Can I use health monitoring without a public HTTP server?
- How do I change the monitoring interval?
- MySQL Metrics are missing but other Metrics are OK
- How can I exclude /dev/loop0 from Disk Space monitoring?