-
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'@'localh ost';
mysql> GRANT SELECT ON `mysql`.* TO 'munin'@'localh ost';
mysql> flush privileges
munin-node-configure --suggest 2>/dev/null |grep mysql
munin-node-configure --shell | grep mysql | sh
# cd /etc/munin/plugins
# munin-run mysql_connections
- sandip's blog
- Login or register to post comments