Enabling Apache and MySQL/MariaDB plugins in munin

Munin is a useful tool for generating graphs of system performance. When setting it up on Debian and Ubuntu, it doesn’t automatically enable monitoring of Apache or MariaDB, but the reason why isn’t easy to spot.

Munin plugins are written in Perl, and the default Apache and MariaDB plugins rely on Perl libraries that aren’t installed by default in Ubuntu or Debian. Run apt install libcache-cache-perl for the Apache plugin, and apt install liblwp-protocol-https-perl for the MySQL/MariaDB plugin. Once those are installed, you can enable the plugins using munin-node-configure --shell | sh.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <p> <br> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA