Icinga Web 2 installation and configuration on Linux

We can install Icinga Web 2 directly from Icinga Repository which we already added in our previous article for installing Icinga 2 also read Adding Icinga2 Remote Linux Host. The additional package icingacli is necessary on RPM based systems which will help to built the Web interface. In DEB based systems, the icingacli binary is included in the icingaweb2 package.

Alternatively you can install other network monitoring tools such as Zabbix, Monitorix, Cacti, Munin & Nagios.

1) Install IcingaWeb2 Packages

Install IcingaWeb2 Packages on Ubuntu, Mint, Debian, Fedora, CentOS, RHEL, suse & openSUSE.

# Prerequisite (Modules) For Icingaweb2 DEB based system #
# apt-get install php5-json php5-gd php5-imagick php5-pgsql php5-intl php5-cli php5-common php5-mysql

# Prerequisite (Modules) For Icingaweb2 RPM based system (For Fedora 22 later system add dnf instead of yum) #
# yum install php-gd php-intl php-ZendFramework php-pear php-pdo php-soap php-ldap php-cli php-common php-devel php-mbstring php-mysql php-xml

# For CentOS/RHEL/Fedora 21 and older #
# yum install icingaweb2 icingacli

# For CentOS/RHEL/Fedora 22 and later #
# dnf install icingaweb2 icingacli

# Debian based Systems #
# apt-get install icingaweb2

# openSUSE & suse Systems #
# zypper install icingaweb2 icingacli

2) Generate Authenticate token

To generate authenticate token for Icinga Web 2, use the below command.

# Generate Authenticate token #
# icingacli setup token create

# To get Generate Authenticate token #
# icingacli setup token show

3) Setup Icinga Web 2 Interface

Navigate your browser to http://localhost/icingaweb2/setup or http://IP-Address/icingaweb2/setup or http://Domain-Name/icingaweb2/setup which will launch Icinga Web 2 setup wizard and past the Generate Authenticate token, then hit Next button to move forward.
install-icinga-web2-centos-rhel-fedora-1
Module Selection By default Monitoring module selected which is core module for icingaweb. Simple hit Next button.
install-icinga-web2-centos-rhel-fedora-2

You may also like...