Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
centos:web_c7:icinga:director [09.08.2016 21:59. ] – [Benachrichtigungen] django | centos:web_c7:icinga:director [20.04.2018 10:36. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 301: | Zeile 301: | ||
| | ||
- | Hat sich an der MariaDB etwas geändert muss ein entsprechneder Update der mySQL-Definitionen erfolgen. Hierzu wechseln wir in Module Konfiguration des Icinga-Director | + | Hat sich an der MariaDB etwas geändert muss ein entsprechneder Update der mySQL-Definitionen erfolgen; in der WEB-GUI unseres Icinga 2 Director |
- | FIXME (//Bild einfügen, wenn ein Datenbankupdate nötig ist!//) | + | {{ : |
+ | Mit einem Klick auf die Schaltfläche **[ Schema-Migrations-Scripte anwenden ]** starten wir den Aktualisierungsvorgang. Wurden die Aktualisierungen erfolgreich beendet, wird uns dies am unteren Bildschirmrand entsprechend angezeigt. | ||
+ | |||
+ | {{ : | ||
===== Grund-Konfiguration ===== | ===== Grund-Konfiguration ===== | ||
+ | ==== API Setup ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | ● icinga2.service - Icinga host/ | ||
+ | | ||
+ | | ||
+ | Process: 30906 ExecStart=/ | ||
+ | Process: 30842 ExecStartPre=/ | ||
+ | Main PID: 30932 (icinga2) | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Mar 06 20:36:14 vml000117.dmz.nausch.org systemd[1]: Starting Icinga host/ | ||
+ | Mar 06 20:36:14 vml000117.dmz.nausch.org systemd[1]: Started Icinga host/ | ||
+ | [root@vml000117 features-enabled]# | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | information/ | ||
+ | Enabling feature api. Make sure to restart Icinga 2 for these changes to take effect. | ||
+ | Done. | ||
+ | |||
+ | Now restart your Icinga 2 daemon to finish the installation! | ||
+ | |||
+ | [root@vml000117 features-enabled]# | ||
+ | [root@vml000117 features-enabled]# | ||
+ | ● icinga2.service - Icinga host/ | ||
+ | | ||
+ | | ||
+ | Process: 31131 ExecStart=/ | ||
+ | Process: 31068 ExecStartPre=/ | ||
+ | Main PID: 31157 (icinga2) | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Mar 06 20:37:06 vml000117.dmz.nausch.org systemd[1]: Starting Icinga host/ | ||
+ | Mar 06 20:37:07 vml000117.dmz.nausch.org systemd[1]: Started Icinga host/ | ||
+ | </ | ||
==== CA erstellen ==== | ==== CA erstellen ==== | ||
# icinga2 node wizard | # icinga2 node wizard | ||
Zeile 1037: | Zeile 1090: | ||
Wie beim Kommando für die Host-Notifications werden wir nun auch noch ein Kommando für die Service-Notifications anlegen. | Wie beim Kommando für die Host-Notifications werden wir nun auch noch ein Kommando für die Service-Notifications anlegen. | ||
- | {{ : | + | {{ : |
Auch hier legen wir dann für jede Option aus dem Bash-Script ein zugehöriges Argument an, damit die benötigten Daten zur Laufzeit dem Script übergeben werden können. | Auch hier legen wir dann für jede Option aus dem Bash-Script ein zugehöriges Argument an, damit die benötigten Daten zur Laufzeit dem Script übergeben werden können. | ||
Zeile 1089: | Zeile 1142: | ||
* **[[http:// | * **[[http:// | ||
- | ~~DISCUSSION~~ | ||