Running icinga with lighttpd on Debian whezzy (and a Raspberry)

At first we need to install Icinga and lighttpd:

# aptitude install icinga lighttpd

We need to enable the lighttpd cgi and authentication module:

# lighttpd-enable-mod cgi && ighttpd-enable-mod auth

Let's create a config for Icinga (in a subdir of the default vHost). As you can see, you don't need any setenv.add-environment on wheezy (at least):

# vi /etc/lighttpd/conf-available/50-icinga.conf

Let's create a config file with credentials for the user icingaadmin:

# htpasswd -c /etc/icinga/htpasswd.users icingaadmin

Now we just need to enable the icinga config and reload the lighttpd:

# lighttpd-enable-mod icinga && /etc/init.d/lighttpd force-reload

At this point you should find a working Icinga setup at http://yourip/icinga

P.S. Does anybody know how to setup a buildenv (preferable as crossbuild on amd64) for Raspbian, as the Debian armhf packages are not compatible to Raspbian and so there is no access to the Backports repository? Cool would be to get a sbuild env running, so it can be integrated into a buildd.