In this video, you will learn how to install Icinga to monitor your entire infrastructure.
Join this channel to get access to perks: null
PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)
Icinga is a secure monitoring system that checks the availability of your network resources, watch hosts, and any applications. It notifies users of outages and generates performance data for reporting.
Icinga is scalable and extensible. It can monitor large, complex environments across multiple locations.
Icinga was originally created as a fork of the Nagios in 2009.
Icinga also known as Nagios alternative.
GIVE SUPPORT - https://www.patreon.com/lazysysad
BUY ME A COFFEE - https://www.buymeacoffee.com/lazysysad
PAYPAL - https://paypal.me/lazysysad
LINKS:
Icinga2 Master Installation and Configuration - https://www.youtube.com/watch?v=OP07bSASKVw
Icinga2 Agent Installation and Configuration - https://www.youtube.com/watch?v=UGSuz_LGmHE
How to Monitor MySQL or MariaDB Database Server Using Icinga2 On Ubuntu 22.04 LTS Server - https://www.youtube.com/watch?v=joztxRqUu8s
How to use SQL Queries to Monitor MySQL or MariaDB Database Server Using Icinga2 - https://www.youtube.com/watch?v=gHjKN4Wshes
MySQL8 Replication - https://www.youtube.com/watch?v=s4oYWBGy_FE
How to Monitor MySQL or MariaDB Database Server Using Icinga2 - https://www.youtube.com/watch?v=joztxRqUu8s
Icinga - https://icinga.com/
Steps:
sudo su -
apt-get update
apt-get -y install apt-transport-https wget gnupg
wget -O - https://packages.icinga.com/icinga.key | apt-key add -
"the complicated command is prohibited by YouTube in the description"
vi /etc/apt/sources.list.d/jammy-icinga.list
deb https://packages.icinga.com/ubuntu icinga-jammy main
deb-src https://packages.icinga.com/ubuntu icinga-jammy main
apt-get update
apt-get -y install icinga2
apt-get -y install monitoring-plugins
icinga2 api setup
systemctl restart icinga2
apt-get -y install icingadb-redis
systemctl enable --now icingadb-redis-server
icinga2 feature enable icingadb
systemctl restart icinga2
apt-get -y install icingadb
apt-get -y install mariadb-server
mysql_secure_installation
mysql -u root -p
CREATE DATABASE icingadb;
GRANT ALL ON icingadb.* TO icingadb@localhost IDENTIFIED BY 'Password123!';
exit
"next command is prohibited by YT in description, refer to the video"
vi /etc/icingadb/config.yml
systemctl enable --now icingadb
apt-get -y install icingadb-web icingaweb2 libapache2-mod-php icingacli php-pdo-mysql php-pdo-pgsql
icingacli setup config directory --group icingaweb2
icingacli setup token create
mysql -u root -p
CREATE DATABASE icingaweb2;
GRANT ALL ON icingaweb2.* TO icingaweb2@localhost IDENTIFIED BY 'Password123!';
exit
ln -snf /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled/000-default-ssl.conf
a2enmod ssl
systemctl restart apache2
vi /etc/apache2/sites-available/000-default.conf
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [L,R]
a2enmod rewrite
systemctl restart apache2
vi /etc/apache2/sites-available/default-ssl.conf
RedirectMatch ^/$ /icingaweb2/
systemctl restart apache2
Chapters:
00:00 Intro
00:33 Add Icinga Package Repository
01:28 Install Icinga 2
01:42 Install Check Plugins
01:58 Set up Icinga 2 API
02:16 Set up Redis Server
02:34 Enable Icinga DB Feature
03:02 Install Icinga DB Daemon
03:09 Install MariaDB
03:48 Set up a MariaDB database for Icinga DB
04:20 Configuring Icinga DB
04:42 Installing Icinga DB Web
05:43 Enable SSL
06:37 Rewrite URL icingaweb2
06:58 Start Web Setup
12:28 Outro
Drop me your feedback and comments below.
That's all for now.
If this video helped you in any way, please like share and subscribe!
Thank you!!!
#icinga
#ubuntu
#thelazysysadmin
8 Comments