Monitoring Icinga How to install Icinga on ubuntu 10.04 (lucid) with Icinga-Web, Icinga-API, IDOUtils, NConf. You should note that these are the steps I have taken to get icinga working with icinga-web, nconf, and idoutils. There may be redundancy (for example you can view both the icinga classic and web interfaces), or unnecessary steps. If you notice anything wrong, please let me know and I will update the post accordingly. Install dependencies: sudo apt-get install apache2 build-essential mailutils libgd2-xpm-dev libjpeg62 libjpeg62-dev libpng12-0 libpng12-0-dev mysql-server mysql-client libdbi0 libdbi0-dev libdbd-mysql libdbi-perl libdbd-mysql-perl php5- mysql libapache2-mod-php5 libnet-snmp-perl libradius1 libtalloc2 libwbclient0 radiusclient1 samba-common samba-common-bin smbclient snmp git-core libssl-dev openssl Create icinga user: sudo useradd -m icinga sudo passwd icinga Create icinga-cmd group: sudo groupadd icinga-cmd sudo usermod -a -G icinga-cmd icinga sudo usermod -a -G icinga-cmd www-data Download Icinga: cd /usr/src git clone git://git.icinga.org/icinga-core.git Configure, compile, install Icinga: cd icinga-core sudo ./configure --enable-idoutils --with-command-group=icinga-cmd sudo make all sudo make fullinstall Install sample configuration files: sudo make install-config Copy sample IDOUtils config files to the installation: cd /usr/local/icinga/etc sudo cp idomod.cfg-sample idomod.cfg sudo cp ido2db.cfg-sample ido2db.cfg Enable idomod event broker: sudo nano /usr/local/icinga/etc/icinga.cfg Uncomment the line beginning with broker_module (under the line # Uncomment this to enable idomod.o) Create IDOUtils Database: sudo mysql -u root –p mysql> CREATE DATABASE icinga; mysql> GRANT USAGE ON *.* TO 'icinga'@'localhost' IDENTIFIED BY 'icinga' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
3
Embed
How to Install Icinga on Ubuntu 10.04 (Lucid) With web api IDOUtils, NConf
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Monitoring
Icinga
How to install Icinga on ubuntu 10.04 (lucid) with Icinga-Web, Icinga-API, IDOUtils, NConf.
You should note that these are the steps I have taken to get icinga working with icinga-web, nconf, and idoutils.
There may be redundancy (for example you can view both the icinga classic and web interfaces), or
unnecessary steps. If you notice anything wrong, please let me know and I will update the post accordingly.