tachtler:icinga2_-_client_-_grundkonfiguration
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
tachtler:icinga2_-_client_-_grundkonfiguration [2015/12/04 06:12] – klaus | tachtler:icinga2_-_client_-_grundkonfiguration [2016/01/14 15:51] – [/etc/icinga2/features-enabled/*.conf] klaus | ||
---|---|---|---|
Zeile 20: | Zeile 20: | ||
eine **Kopie der originalen Konfigurationsdatei, | eine **Kopie der originalen Konfigurationsdatei, | ||
< | < | ||
- | # for i in `ls / | + | # for i in `ls / |
</ | </ | ||
Zeile 227: | Zeile 227: | ||
< | < | ||
# icinga2 feature list | # icinga2 feature list | ||
- | Disabled features: api compatlog debuglog gelf graphite icingastatus livestatus opentsdb perfdata | + | Disabled features: api command |
- | syslog | + | statusdata |
- | Enabled features: checker | + | Enabled features: checker mainlog notification |
</ | </ | ||
Zeile 247: | Zeile 247: | ||
* [[tachtler: | * [[tachtler: | ||
bereits durchgeführt worden sein. | bereits durchgeführt worden sein. | ||
+ | |||
+ | ===== Konfiguration: | ||
+ | |||
+ | Nachfolgend soll [[https:// | ||
+ | |||
+ | Das **Client Setup** benötigt nachfolgende Komponenten | ||
+ | |||
+ | * Ein lauffähigen **Master** | ||
+ | * Ein **signiertes Zertifikate** zur Kommunikation mit dem **Master** | ||
+ | * **Aktiviertes API Feature** (Möglichkeit), | ||
+ | und zusätzliche nachfolgende | ||
+ | * **Firewall-Freischaltung** für den Kommunikations-Port (**standardmäßig ist dies der Port: '' | ||
+ | |||
+ | Um die vorhergehende Komponenten zu erstellen, kann nachfolgen der **CLI command wizard** (CLI Kommando Assistent) genutzt werden, um einen neuen **Node** (Knoten) auf dem **Client** zu erstellen. | ||
+ | |||
+ | :!: **HINWEIS** - Alle relevanten [[https:// | ||
+ | |||
+ | Dazu muss als erster Schritt, ein **Client Setup** durchgeführt werden, was mit nachfolgendem Befehl realisiert werden kann: | ||
+ | |||
+ | :!: **WICHTIG** - Für ein **Client Setup** **__muss__** die erste Frage mit **yes** (Ja) beantwortet werden! | ||
+ | |||
+ | :!: **WICHTIG** - Ein **Bind Host** und **Bind Port** ist **__nur__** erforderlich, | ||
+ | |||
+ | < | ||
+ | # icinga2 node wizard | ||
+ | Welcome to the Icinga 2 Setup Wizard! | ||
+ | |||
+ | We'll guide you through all required configuration details. | ||
+ | |||
+ | |||
+ | |||
+ | Please specify if this is a satellite setup (' | ||
+ | Starting the Node setup routine... | ||
+ | Please specifiy the common name (CN) [server10.idmz.tachtler.net]: | ||
+ | Please specifiy the local zone name [server10.idmz.tachtler.net]: | ||
+ | Please specify the master endpoint(s) this node should connect to: | ||
+ | Master Common Name (CN from your master setup): server11.idmz.tachtler.net | ||
+ | Do you want to establish a connection to the master from this node? [Y/n]: Y | ||
+ | Please fill out the master connection information: | ||
+ | Master endpoint host (Your master' | ||
+ | Master endpoint port [5665]: 5665 | ||
+ | Add more master endpoints? [y/N]: N | ||
+ | Please specify the master connection for CSR auto-signing (defaults to master endpoint host): | ||
+ | Host [192.168.0.110]: | ||
+ | Port [5665]: | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | |||
+ | Certificate information: | ||
+ | |||
+ | | ||
+ | | ||
+ | Valid From: Dec 1 13:00:07 2015 GMT | ||
+ | Valid Until: Nov 27 13:00:07 2030 GMT | ||
+ | | ||
+ | |||
+ | Is this information correct? [y/N]: y | ||
+ | information/ | ||
+ | |||
+ | Please specify the request ticket generated on your Icinga 2 master. | ||
+ | | ||
+ | information/ | ||
+ | |||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | Please specify the API bind host/port (optional): | ||
+ | Bind Host []: 192.168.0.10 | ||
+ | Bind Port []: 5665 | ||
+ | Accept config from master? [y/N]: N | ||
+ | Accept commands from master? [y/N]: y | ||
+ | information/ | ||
+ | Disabling feature notification. Make sure to restart Icinga 2 for these changes to take effect. | ||
+ | information/ | ||
+ | Enabling feature api. Make sure to restart Icinga 2 for these changes to take effect. | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | warning/ | ||
+ | information/ | ||
+ | warning/ | ||
+ | information/ | ||
+ | information/ | ||
+ | Done. | ||
+ | |||
+ | Now restart your Icinga 2 daemon to finish the installation! | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | Nachfolgende Dateien wurden für die CA (Certificate Authority) **neu** erstellt: | ||
+ | * ''/ | ||
+ | |||
+ | Nachfolgende Dateien wurden für das **Master**-Zertifikat **neu** erstellt: | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | |||
+ | Nachfolgende Konfigurationsdatei wurden **neu** erstellt oder angepasst: | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | |||
+ | Nachfolgender Befehl zeigt an, das das **Feature** (Möglichkeit) - **'' | ||
+ | < | ||
+ | # icinga2 feature list | ||
+ | Disabled features: command compatlog debuglog gelf graphite icingastatus livestatus notification opentsdb | ||
+ | perfdata statusdata syslog | ||
+ | Enabled features: api checker mainlog | ||
+ | </ | ||
+ | |||
+ | :!: **HINWEIS** - **Da in der '' | ||
+ | |||
+ | :!: **WICHTIG** - **Ausnahme hiervon ist __nur__ die Konfigurationsdatei** | ||
+ | * ''/ | ||
+ | **da hier __" | ||
+ | * ''/ | ||
+ | **hinzugefügt werden können!** | ||
+ | |||
+ | Siehe hierzu auch nachfolgenden internen Link: | ||
+ | * [[tachtler: | ||
tachtler/icinga2_-_client_-_grundkonfiguration.txt · Zuletzt geändert: 2016/01/15 07:49 von klaus