Icinga2 Agent Installation and Configuration on a MySQL Database Server on Ubuntu 22.04 LTS Server

Опубликовано: 14 Декабрь 2022
на канале: The Lazy SysAdmin
4,057
51

In this video, you will learn how to install and configure Icinga Agent to monitor your MySQL source and replica servers in your clusters.

Join this channel to get access to perks: https://www.youtube.com/@lazysysad/join

PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)

GIVE SUPPORT -   / lazysysad  
BUY ME A COFFEE - https://www.buymeacoffee.com/lazysysad
PAYPAL - https://paypal.me/lazysysad

LINKS:
How to Monitor Entire Infrastructure using Open Source Enterprise Solution -    • How to Monitor Entire Infrastructure ...  
How to Configure MySQL 8.0 Replication on Ubuntu 22.04 LTS Server -
   • How to Configure MySQL 8.0 Master-Sla...  
How to use SQL Queries to Monitor MySQL or MariaDB Database Server Using Icinga2 -    • How to use SQL Queries to Monitor MyS...  
Add Icinga2 Package Repository - https://icinga.com/docs/icinga-2/late...
Icinga2 Agent - https://icinga.com/docs/icinga-2/late...
Icinga2 Agent/Satellite Setup - https://icinga.com/docs/icinga-2/late...

Steps:
sudo su -
Follow instruction https://icinga.com/docs/icinga-2/late...
apt -y install icinga2
icinga2 node wizard
sudo icinga2 pki ticket --cn 'mysql-source.lazy.test' --salt dbofthelazy
sudo icinga2 pki ticket --cn 'mysql-replica.lazy.test' --salt dbofthelazy
sudo systemctl restart icinga2

vi /etc/icinga2/conf.d/mysql-source.lazy.test.conf
object Host "mysql-source.lazy.test" {
import "generic-host"
address = "mysql-source.lazy.test"
check_command = "hostalive"
vars.os = "Linux"
}

vi /etc/icinga2/conf.d/mysql-replica.lazy.test.conf
object Host "mysql-replica.lazy.test" {
import "generic-host"
address = "mysql-replica.lazy.test"
check_command = "hostalive"
vars.os = "Linux"
}

icinga2 daemon -C
systemctl restart icinga2

Chapters:
00:00 Intro
00:17 Add Icinga package repository
04:00 Install Icinga2
04:19 Icinga2 node wizard
07:37 Update hosts information on Icinga2 master
08:49 Verify hosts in Icinga web UI
09:03 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!!!


Смотрите видео Icinga2 Agent Installation and Configuration on a MySQL Database Server on Ubuntu 22.04 LTS Server онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Lazy SysAdmin 14 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,057 раз и оно понравилось 51 людям.