Problems installing monit and munin on Ubuntu

To monitor mysql, you need to activate the mysql pid file creation. In/etc/mysql/my.cnf, in the[mysqld]section add

pid-file = /var/run/mysqld/

To run munin with apache and mysql monitoring, you need to install two perl modules.

aptitude install libwww-perl libcache-cache-perl

Or elsemunin-node-configure --suggestwill reportLWP::UserAgent not foundandMissing dependency Cache::Cache