You are on page 1of 1

INSTALACIN ICINGA:

apt install software-properties-common


apt-get update
apt-get install icinga2
systemctl enable icinga2.service
systemctl start icinga2.service

icinga2 feature list

apt-get install nagios-plugins icingaweb2 icinga2-ido-mysql

mysql -u root -p

Create database icinga2;


GRAN SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON
icinga2.*TO'icinga2'@'localhost' IDENTIFIED BY 'tecsup';
flush privileges;
exit

icinga2 feature enable ido-mysql


cat /etc/icinga2/features-enabled/ido-mysql.conf
gedit /etc/icinga2/features-available/ido-mysql.conf

#creating database2:

mysql -u root -p
Create database icingawebdb;
GRANT SUPER ON *.* TO 'icingaweb'@'localhost' IDENTIFIED BY 'tecsup';
GRAN SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX, EXECUTE ON
icingawebdb.*TO'icingaweb'@'localhost' IDENTIFIED BY 'tecsup';
exit

systemctl enable icinga2.service && systemctl status icinga2.service

systemctl restart apache2.service php7.0-fpm.service mysql.service icinga2.service

You might also like