Munin to monitor mysql on Debian 6

First we need to install some Mysql-Munin perl libraries:

apt-get install libipc-sharelite-perl

Also some Perl stuff will be needed:

perl -MCPAN -eshell
install IPC::ShareLite

Next let’s activate Munin Mysql plugin:

Assuming you have already installed both munin & mysql

ln -s /usr/share/munin/plugins/mysql_* /etc/munin/plugins

Restart both Apache & Munin:

/etc/init.d/apache2 restart
/etc/init.d/munin-node restart
su munin -c /usr/bin/munin-cron

Source:

http://dev.mensfeld.pl/2012/02/making-munin-work-with-mysql-on-debian/
http://www.mbrando.com/2007/08/06/how-to-get-your-mysql-munin-graphs-working/
 

Share

Leave a Reply