Fix for Munin installed by cPanel/WHM
- Determine where is mysqladmin program located with the one of the following command:
If should return a path to mysqladmin which looks similar or the same to /usr/bin/mysqladmin.
- Edit the /etc/munin/plugin-conf.d/cpanel.conf Munin configuration file, and modify the [mysql*] to look like below:
Ensure the env.mysqladmin value is path returned by step above. Also ensure that /root/.my.cnf contains correct root password to the MySQL databases.
- Then restart Munin service:
- Wait a while for MySQL statistics to be gathered, and check the graphs again.