I recently installed Fail2Ban on an Ubuntu 12.04.5 server and it’s working great. Now I want to setup Munin so it can monitor it and generate graphs/reports. I found that Munin has a built-in Fail2Ban plugin that can be enabled like this:

sudo ln -s /usr/share/munin/plugins/fail2ban /etc/munin/plugins/fail2ban

Did that and restarted Munin like this:

sudo service munin-node restart

And waited 5-10 minutes for reports to be generated. And while there is a Fail2Ban area in the server report, all images are broken. Why? What can I do to fix this?

migrated from superuser.com Nov 1 '15 at 10:43

This question came from our site for computer enthusiasts and power users.


It turns out I needed to adjust the Munin config to get graphs to be generated. I opened up the munin-node config file like this:

sudo nano /etc/munin/plugin-conf.d/munin-node

And then added this configuration option for Fail2Ban:

user root

Restarted Munin and in about 5 to 10 minutes new reports were generated with the images all in place as expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.