Quick setup: Munin + Lighttpd

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 371
Joined: Tue Nov 12, 2013 2:05 am

Quick setup: Munin + Lighttpd

Post 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.
Post Reply