Page 1 of 1

Quick setup: Munin + Lighttpd

Posted: Fri Apr 18, 2014 2:08 am
by peter_b
I'm using Munin for monitoring some of our servers. Since I want it to get into the way as little as possible, I've chosen to use lighttpd instead of Apache2.
The system is a Debian 7 (Wheezy), 64bit.

Here's how you setup Munin with lighttpd quickly:

1) Install Munin & Munin-node:

Code: Select all

$ apt-get install munin munin-node
2) Install lighttpd:

Code: Select all

$ apt-get install lighttpd
3) Set symlink to Munin's web-graphs folder:
With Apache, installing Munin automatically configures Apache to forward "/munin" to "/var/cache/munin/www/", but that's not happening with lighttpd :(
Just go to "/var/www" and create a symbolic link to "/var/cache/munin/www/":

Code: Select all

$ cd /var/www
$ ln -s /var/cache/munin/www/ munin
Now you should be able to access Munin's graphs under "http://localhost/munin". Of course, you can replace "localhost" with your server name.

That's it.