Tutorial: munin

Munin is a little peace of perl magic. If you do not know it -> look at this demo.

Installation is quite simple:

apt-get install munin munin-node libcache-cache-perl

Now you have to config munin:

sudo nano /etc/munin/munin.conf

Only part you have to alter:

# a simple host tree
[name of your wish]
    use_node_name yes

Next part is the munin-node config:

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

Only part you have to alter:

# Which address to bind to;
#host *

Sometimes the pkg script does something wrong (most of the times wrong ownership of folders)

Run this script to check all configuration properties:


If everything is fine you can restart munin:

service munin-node restart

After that you only have to forward some path to the www-dir of munin:

For lighttpd:

sudo nano /etc/lighttpd/lighttpd.conf

$HTTP["remoteip"] =~ "" {
    alias.url += ("/munin/" => "/var/cache/munin/www/")

Open your browser and load following url:

That's it - have fun with a lot of graphs.


If you want to activate a new plugin you can go to following path:

ls -al /usr/share/munin/plugins

and link one plugin to the activated plugins - e.g.:

ln -s /usr/share/munin/plugins/fail2ban /etc/munin/plugins/
ln -s /usr/share/munin/plugins/sendmail_mailqueue /etc/munin/plugins/
ln -s /usr/share/munin/plugins/sendmail_mailstats /etc/munin/plugins/
ln -s /usr/share/munin/plugins/sendmail_mailtraffic /etc/munin/plugins/

If a plugin is missing (e.g. lighttpd, mod_jdk, memcached, mongodb, eveb minecraft) you can search the official github: