Logicalwebhost Cheatsheet

Linux & Open Source Cheatsheets & Howto's

Skip to: Content | Sidebar | Footer

Icinga howto

Icinga is a fork of Nagios, a stalwart network monitoring system of yore. Icinga puts more features and a better interface together, but still reads old Nagios stuff.

Icinga howto on Debian Jessie

apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-mysql mysql-server icinga-web-pnp icinga-web icinga

Now you can add hosts to monitor like:

This is on Debian Squeeze, but can work with tweaks on other distro’s:

apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-gd php5-ldap php5-mysql
echo "deb http://backports.debian.org/debian-backports squeeze-backports main" >> /etc/apt/sources.list.d/squeeze-backports.list
apt-get update
apt-get install icinga-web-pnp icinga-web
apt-get -t squeeze-backports install icinga-web icinga-web-pnp

Error: ido2dbCould not bind socket: Address already in use

icinga gives this error for some reason periodically, to fix it do:

rm var/lib/icinga/ido.sock
/etc/init.d/ido2db restart
ps aux | grep ido2db

You should now see a couple processes running like:

nagios    1079  0.0  0.0  32096   652 ?        Ss   07:03   0:00 /usr/sbin/ido2db -c /etc/icinga/ido2db.cfg

Write a comment

You need to login to post comments!