Icinga (Netzwerküberwachung) und Konfiguration mit NConf


apt-get update
apt-get upgrade

apt-get install php5 php5-cli php-pear php5-xmlrpc php5-xsl php5-pdo php5-ldap php5-soap php5-gd php5-mysql

apt-get install apache2 build-essential libgd2-xpm-dev 
apt-get install libjpeg62 libjpeg62-dev libpng12 libpng12-dev 
apt-get install snmp libsnmp5-dev

apt-get intall icinga

danach ist das Webinterface erreichbar unter:
http://IP-DES_RASPBERRY/Icinga

mit den Benutzerdaten
"icingaadmin" und ihr Kennwort

wget https://sourceforge.net/projects/nconf/files/nconf/1.3.0-0/nconf-1.3.0-0.tgz
tar -xzf  nconf-1.3.0-0.tgz
chmod 777 -R nconf
http://IP-DES_RASPBERRY/nconf
Bei der installation den MYSQL Server auswählen und Datenbank erstellen.
unter Icinga-Binarys "/usr/sbin/icinga" eintragen
rm UPDATE* -R
rm INSTALL* -R
nano config/deployment.ini
und alles bis auf nagios config unter local deployment ausdokumentieren.

mkdir /etc/nagios
chmod 777 /etc/nagios

nano /etc/icinga/icinga.cfg
und alle cfg_dir und cfg_file auskommentieren
und folgende 2 Zeilen eintragen:

cfg_dir=/etc/nagios/global
cfg_dir=/etc/nagios/Default_collector

dann mit STRG + O speichern
und mit STRG + X verlassen

jetzt auf der Weboberfläche von NConf eine Konfiguration erstellen
und auf Deploy drücken.
Danach im Terminal
service icinga restart
eingeben.
und das Resultat auf der Icinga Weboberfläche überprüfen.