-
munin-node installed via epel repository.
Install perl-Cache-Cache:
# yum install munin-node perl-Cache-Cache[mysql*]
env.mysqluser munin
env.mysqlpassword {PASS}mysql> create user munin@localhost identified by '{PASS}';
mysql> GRANT PROCESS, SUPER ON *.* TO 'munin'@'localhost';
mysql> GRANT SELECT ON `mysql`.* TO 'munin'@'localhost';
mysql> flush privilegesmunin-node-configure --suggest 2>/dev/null |grep mysql
munin-node-configure --shell | grep mysql | sh# cd /etc/munin/plugins
# munin-run mysql_connections