This small how-to briefly describes the installation of icinga 1.6.1 on debian squeeze 6.0 and details the install and configuration of the newest icinga-web (1.6.0).
Unfortunately, the latest icinga package version in debian are:
- stable: 1.0.2-2
- testing: 1.5.1-1
- icinga squeeze-backports: 1.5.1-1
Because of that we have two choices getting the latest 1.6.1 version of icinga:
Install from source or use the debian packages of icinga in unstable tree (icinga itself is very stable).
- simply add
deb http://ftp.debian.org/debian sid main
as new line in file /etc/apt/sources.list
- do an
apt-get -t unstable install icinga icinga-idoutils icinga-phpapi
- configure icinga & idoutils according to your needs (there is plenty information on the web on this)
- Clone recent icinga from git repository (the icinga debian maintainer won’t include icinga-web)
cd /usr/src && git clone git://git.icinga.org/icinga-web.git
- Build icinga-web
cd icinga-web/ && ./configure –with-api-cmd-file=/var/lib/icinga/rw/icinga.cmd –with-conf-dir=/etc/icinga-web –with-log-dir=/var/log/icinga-web –with-cache-dir=/var/cache/icinga-web
- Install Icinga-web
make install
- Install Apache2 config for Icinga-web
make install-apache-config
- Create icinga-web database in mysql
mysql -u root -p icinga_web < /usr/src/icinga-web/etc/schema/mysql.sql
- change database settings in configuration file for icinga itself and icinga-web
vi /usr/local/icinga-web/app/config/databases.xml
Line 28: mysql://icinga_web:password@localhost:3306/icinga_web
Line 79: mysql://icinga-idoutils:password@localhost:3306/icinga - Clear the cache
- You should now be able to login to icinga-web with username “root” and password “password” on http://localhost/icinga-web (change password afterwards)
have fun!
Next: Installation and integration of the new InGraph Grapher Addon into icinga-web
Source: Icinga Wiki


Hey Du wolltest doch was anderes machen
#handy-guide RT @shakalandy: Installing Icinga 1.6.1 on Debian Squeeze with icinga-web: http://t.co/z3gUSPw2 #icinga
icinga 1.6.1 was accepted in sid on 2.12. so just wait a few more days until it gets migrated to testing, meaning also adding it to squeeze-backports. normal interval is 10 to 14 days – then follow this guide:
https://wiki.icinga.org/display/howtos/Setting+up+Icinga+with+IDOUtils+on+Debian
otherwise, for current debian packages, use the described build server method.
Hi, and thanks a lot for this great guide!
Couple of updates:
(1) Version 1.6.1 is now in backports, so doing this now works:
apt-get install -t squeeze-backports icinga icinga-idoutils icinga-phpapi
(2) The branch from github no longer points to 1.6.1, so checking out the source from the provided git address now results in an incompatible database. Substituting the following release tarball everything works just fine.
http://sourceforge.net/projects/icinga/files/icinga-web/1.6.1/