Icinga-web ubuntu 16.04: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
Zeile 37: | Zeile 37: | ||
=Icinga Web 2 Installation= | =Icinga Web 2 Installation= | ||
*apt-get install icingaweb2 | *apt-get install icingaweb2 | ||
+ | ==show tokken== | ||
+ | *icingacli setup token show | ||
+ | =Setup icinga Web2= | ||
+ | *http://icinga2/icingaweb2/setup | ||
+ | [[Datei:icinga-web2-setup1.png]] | ||
+ | |||
+ | [[Datei:icinga-web2-setup2.png]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Datei:icinga-web2-setup3.png]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Datei:icinga-web2-setup4.png]] | ||
Version vom 21. Juni 2016, 10:22 Uhr
install icinga2
icinga2 repo hinzufügen
- add-apt-repository ppa:formorer/icinga
listen neu laden
- apt-get update
icinga2 installation
- apt-get install icinga2
MySQL Server und IDO Schnittstelle installieren
- apt-get install mysql-server mysql-client 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
Icinga Web 2 Installation
- apt-get install icingaweb2
show tokken
- icingacli setup token show
Setup icinga Web2
chmod 777 /etc/icingaweb2/modules/