==== Icinga2 auf einer Linux Node erstellen ==== === Quelle hinzufügen === apt-get update apt-get -y install apt-transport-https wget gnupg wget -O - https://packages.icinga.com/icinga.key | apt-key add - DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \ echo "deb https://packages.icinga.com/debian icinga-${DIST} main" > \ /etc/apt/sources.list.d/${DIST}-icinga.list echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \ /etc/apt/sources.list.d/${DIST}-icinga.list apt-get update apt install icinga2 nagios-plugins-contrib Im Anschluss den Node am Masterserver anmelden erst den FQDN prüfen. hostname -f icinga2 node wizard mkdir /opt/monitoring scp chef@server:/opt/monitoring/* /opt/monitoring/ vi /etc/icinga2/constants.conf systemctl restart icinga2.service Auf dem master das Zertifikat anzeigen und unterschreiben icinga2 ca list icinga2 ca sign id_aus_der_Ergebnisliste unter /etc/icinga2/zones.d/master einen Konfigfile anlegen und den Service neuladen