Install Icinga2 on Ubuntu 16.04

Комментарии ()

insert next string in /etc/apt/sources.list.d/icinga.list

deb https://packages.icinga.com/ubuntu icinga-xenial main
sudp apt install curl
curl -sSL https://packages.icinga.com/icinga.key | sudo apt-key add -
sudo apt-get update

Install LACP

sudo apt-get install apache2 mysql-server
sudo mysql_secure_installation
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
sudo nano /etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
        DirectoryIndex index.php index.cgi index.pl index.html index.xhtml index.htm
</IfModule>
sudo systemctl restart apache2

Перегляд доступгим модулів php у вигляді пакетів

apt-cache search php- | less
sudo apt-get install icinga2 icinga2-ido-mysql
sudo icinga2 feature enable ido-mysql command
sudo systemctl restart icinga2

Installing the Icinga Web Interface

sudo nano /etc/php/7.0/apache2/php.ini
date.timezone = Europe/Kiev
sudo systemctl restart apache2

Setting up the Icinga Web Interface

sudo icingacli setup token create

https://www.digitalocean.com/community/tutorials/how-to-install-icinga-and-icinga-web-on-ubuntu-16-04

 icinga2 feature list
apt install nagios-plugins
icinga2 feature enable api

 


Webit.in.ua 2013