Icinga2 Web Director: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 6: | Zeile 6: | ||
*restorecon -R director | *restorecon -R director | ||
− | + | Datenbank erstellen | |
*mysql -u root -p | *mysql -u root -p | ||
mysql> CREATE DATABASE director CHARACTER SET 'utf8'; | mysql> CREATE DATABASE director CHARACTER SET 'utf8'; | ||
Zeile 15: | Zeile 15: | ||
*icinga2 api setup | *icinga2 api setup | ||
− | * | + | *Neue Ressource erstellen |
[[Datei:icingaweb2-director1.png]] | [[Datei:icingaweb2-director1.png]] | ||
Version vom 20. November 2018, 12:42 Uhr
Installation
- cd /usr/share/icingaweb2/modules
- download von https://github.com/Icinga/icingaweb2-module-director
- unzip
- mv icingaweb2-module-director director
- restorecon -R director
Datenbank erstellen
- mysql -u root -p
mysql> CREATE DATABASE director CHARACTER SET 'utf8'; mysql> GRANT ALL ON director.* TO 'director'@'localhost' IDENTIFIED BY 'password'; mysql> FLUSH PRIVILEGES;
- mysql -u root -p director < /usr/share/icingaweb2/modules/director/schema/mysql.sql
- icinga2 api setup
- Neue Ressource erstellen
- Name des Endpoints: Name der CA die beim Aufruf von icinga2 api setup verwendet wurde
- Icinga-Host: localhost
- Port: 5665
- API-Benutzer: Benutzer aus /etc/icinga2/conf.d/api-users.conf
- Passwort: das generierte Passwort aus /etc/icinga2/conf.d/api-users.conf