Icinga-web ubuntu 16.04: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
|||
Zeile 9: | Zeile 9: | ||
==MySQL Server und IDO Schnittstelle installieren== | ==MySQL Server und IDO Schnittstelle installieren== | ||
− | *apt-get install mysql-server mysql-client icinga2-ido-mysql | + | *apt-get install mysql-server mysql-client |
+ | *apt-get install icinga2-ido-mysql | ||
===root Password für Mysql=== | ===root Password für Mysql=== | ||
[[Datei:icinga2-mysql1.png]] | [[Datei:icinga2-mysql1.png]] |
Aktuelle Version vom 19. November 2018, 14:41 Uhr
install icinga2
icinga2 repo hinzufügen
- add-apt-repository -y ppa:formorer/icinga
listen neu laden
- apt-get update
icinga2 installation
- apt-get install icinga2 icingaweb2
MySQL Server und IDO Schnittstelle installieren
- apt-get install mysql-server mysql-client
- apt-get install icinga2-ido-mysql
root Password für Mysql
enable IDO Features
konfigureren der IDO Datenbank
passwort für icinga-ido-mysql
Features eaktivieren
- icinga2 feature enable ido-mysql
- icinga2 feature enable command
Features listen
- icinga2 feature list
restart icinga2
- systemctl restart icinga2.service
User anlgen
- addgroup --system icingacmd
Adding group `icingacmd' (GID 119) ...
- usermod -a -G icingacmd www-data
- id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data),119(icingacmd)
installation diverser pakete
- apt-get install libapache2-mod-php7.0 libapache2-mod-php php-intl php-xml php-gd php-imagick php-pgsql php7.0-mysql
Icinga Web 2 Installation
- apt-get install icingaweb2
show tokken
- icingacli setup token create
- icingacli setup token show
timezone setzen
date.timezone = europe/berlin
eintragen in
vi /etc/php/7.0/apache2/php.ini
Zugriff auf den Token freischalten
- addgroup --system icingaweb2
- usermod -a -G icingaweb2 www-data
- systemctl restart apache2.service
Setup icinga Web2
troubleshoting
bei problemen mit den zugriffsrechte
chmod 777 /etc/icingaweb2/modules/ chown -R www-data:icingaweb2 modules/