Icinga2 client Setup

Aus xinux.net
Zur Navigation springen Zur Suche springen

auf master

icinga2 node wizard

dan satelite setup no

satellite setup ('n' installs a master setup) [Y/n]: n

Client einrichten

  • (auf client seite machen)

Debian:

wget -O - http://debmon.org/debmon/repo.key 2>/dev/null | apt-key add -
echo 'deb http://debmon.org/debmon debmon-jessie main' >/etc/apt/sources.list.d/debmon.list
apt-get update
apt-get install icinga2

Ubuntu:

apt-get install software-properties-common
add-apt-repository ppa:formorer/icinga
apt-get update
apt-get install icinga2

setup wizard

root@host ~ # icinga2 node wizard
Welcome to the Icinga 2 Setup Wizard!

...

alles durchgehen

dann müst ihr das

icinga2 pki ticket --cn 'host.domain.de'

auf der server seite einfügen und den key der generiert wird im client einfügen

service icinga2 restart

auf dem master

service icinga2 restart
icinga2 node update-config
service icinga2 reload
icinga2 node list

webinterface

http://host.domain.de/icingaweb2/dashboard


  • links
https://www.thomas-krenn.com/de/wiki/Icinga_2_Host_und_Service_Konfiguration
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started