It’s monitoring tool.

https://www.youtube.com/watch?v=I8XeKr6z6wM

Package Requirement:

Apache:- 2.2 or above
Php:- 5.6 or above

Step1. Install repository

yum install -y centos-release-scl

Step2. Install packages

yum -y install rh-php71-php-json rh-php71-php-pgsql rh-php71-php-xml rh-php71-php-intl rh-php71-php-common rh-php71-php-pdo rh-php71-php-mysqlnd rh-php71-php-cli rh-php71-php-mbstring rh-php71-php-fpm rh-php71-php-gd rh-php71-php-zip rh-php71-php-ldap rh-php71-php-imagick vim-enhanced httpd

Step3. Set time zone in php.ini file

vim /etc/opt/rh/rh-php71/php.ini
date.timezone = US/Central

Step4. Enable and start service

systemctl enable rh-php71-php-fpm
systemctl start rh-php71-php-fpm

Step5. Install package

yum -y install mariadb-server mariadb

Step6. Enable and start service

systemctl enable mariadb
systemctl start mariadb

Step7. Setup database

mysql_secure_Installation 

Step8. Create database

mysql -u root -p
CREATE DATABASE icingawebdb;
grant all privileges on icingawebdb.* to icingaweb@localhost identified by 'icinga123';
exit;

Step9. Add Icinga 2 Repository

rpm --import https://packages.icinga.com/icinga.key
yum install https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm

Step10. Install Icinga 2

yum -y install icinga2 icingaweb2 icingacli

Step11. Enable and start service

systemctl enable icinga2
systemctl start icinga2

Step12. Preparing Icinga Web 2 Setup

usermod -a -G icingaweb2 apache
icingacli setup config directory --group icingaweb2

Step13. Enable and start services

systemctl enable httpd
systemctl restart httpd
systemctl restart rh-php71-php-fpm

Step14. Access via Browser

http://192.168.72.133/icingaweb2/setup
icingacli setup token create

Step15. Start using Icinga 2 API

icinga2 api setup
cat /etc/icinga2/conf.d/api-users.conf
systemctl restart icinga2

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=I8XeKr6z6wM

LEAVE A REPLY

Please enter your comment!
Please enter your name here