tachtler:icinga2_-_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_-_grundkonfiguration [2015/12/04 06:13] – [Vorbereitungen] klaus | tachtler:icinga2_-_grundkonfiguration [2021/08/04 19:45] – [/etc/icinga2/features-available/api.conf] klaus | ||
---|---|---|---|
Zeile 546: | Zeile 546: | ||
Please specify the request ticket generated on your Icinga 2 master. | Please specify the request ticket generated on your Icinga 2 master. | ||
- | | + | |
information/ | information/ | ||
Zeile 601: | Zeile 601: | ||
Nachfolgende Konfigurationsdatei wurden **neu** erstellt oder angepasst: | Nachfolgende Konfigurationsdatei wurden **neu** erstellt oder angepasst: | ||
- | * ''/ | ||
* ''/ | * ''/ | ||
* ''/ | * ''/ | ||
* ''/ | * ''/ | ||
* ''/ | * ''/ | ||
+ | |||
+ | :!: **HINWEIS** - **Möglicherweise ist das __Feature__ '' | ||
+ | < | ||
+ | # icinga2 feature enable notification | ||
+ | Enabling feature notification. Make sure to restart Icinga 2 for these changes to take effect. | ||
+ | </ | ||
Nachfolgender Befehl zeigt an, das das **Feature** (Möglichkeit) - **'' | Nachfolgender Befehl zeigt an, das das **Feature** (Möglichkeit) - **'' | ||
Zeile 623: | Zeile 628: | ||
* Das **ROOT-Zertifikat** | * Das **ROOT-Zertifikat** | ||
zur verschlüsselten Kommunikation befinden und welcher " | zur verschlüsselten Kommunikation befinden und welcher " | ||
+ | |||
+ | :!: **WICHTIG** - **Falls __KEIN__ IPv6 zum Einsatz kommt, ist nachfolgender Konfiguratrionsparameter** | ||
+ | < | ||
+ | bind_host = " | ||
+ | </ | ||
+ | **zwingend erforderlich!** | ||
(**Komplette Konfigurationsdatei: | (**Komplette Konfigurationsdatei: | ||
Zeile 634: | Zeile 645: | ||
key_path = SysconfDir + "/ | key_path = SysconfDir + "/ | ||
ca_path = SysconfDir + "/ | ca_path = SysconfDir + "/ | ||
+ | |||
+ | bind_host = " | ||
accept_config = false | accept_config = false | ||
Zeile 1337: | Zeile 1350: | ||
</ | </ | ||
+ | |||
+ | Bei der Überprüfung von **Services** auf einem **Client**, welche **__durch__ den [[https:// | ||
+ | |||
+ | Nachfolgendes Beispiel, soll dies für die Überprüfung der Laufwerke mittels **'' | ||
+ | |||
+ | (**Nur relevanter Ausschnitt**): | ||
+ | |||
+ | <code c> | ||
+ | apply Service for (disk => config in host.vars.disks) { | ||
+ | import " | ||
+ | |||
+ | check_command = " | ||
+ | |||
+ | command_endpoint = host.name | ||
+ | |||
+ | vars += config | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **__Erklärung__**: | ||
+ | |||
+ | * <code c> | ||
+ | |||
+ | Die Definition des **'' | ||
==== templates.conf ==== | ==== templates.conf ==== | ||
Zeile 1537: | Zeile 1574: | ||
</ | </ | ||
gekennzeichnet. | gekennzeichnet. | ||
+ | |||
+ | ===== Konfiguration: | ||
+ | |||
+ | Nachdem die Konfiguration der [[https:// | ||
+ | * [[tachtler: | ||
+ | * [[tachtler: | ||
+ | ist nachfolgende Konfiguration des [[https:// | ||
+ | |||
+ | :!: **WICHTIG** - **Die Konfiguration der Checks für den [[https:// | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | Die Konfigurationsdatei | ||
+ | * ''/ | ||
+ | ist nun nach dem **" | ||
+ | |||
+ | Die Konfigurationsdatei hat **nun** nachfolgenden Inhalt und **muss __zwingend__ angepasst werden**! | ||
+ | |||
+ | (**Komplette Konfigurationsdatei: | ||
+ | |||
+ | <code c> | ||
+ | /* | ||
+ | * Generated by Icinga 2 node setup commands | ||
+ | * on 2015-12-01 15:19:13 +0100 | ||
+ | */ | ||
+ | |||
+ | object Endpoint " | ||
+ | host = " | ||
+ | port = " | ||
+ | } | ||
+ | |||
+ | object Zone " | ||
+ | endpoints = [ " | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Tachtler | ||
+ | * server10.idmz.tachtler.net | ||
+ | */ | ||
+ | |||
+ | object Endpoint " | ||
+ | host = " | ||
+ | port = " | ||
+ | } | ||
+ | |||
+ | object Zone " | ||
+ | endpoints = [ " | ||
+ | parent = " | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Nützliche Befehle ===== | ||
+ | |||
+ | Nachfolgend einige nützliche Befehle: | ||
+ | |||
+ | ^ Befehl | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
tachtler/icinga2_-_grundkonfiguration.txt · Zuletzt geändert: 2021/08/04 20:13 von klaus