Icinga 2 Cluster unter Linux Debian 12 Bookworm mit MySQL einrichten

Vorbereitung


Um DNS Probleme vorzubeugen, empfehlen wir die wichtigsten Server in der lokalen Hosts Datei zu hinterlegen.

Wir verwenden in diesem Artikel ein bestehenden Datenbank-Cluster, Sie können ebenfalls einen einzelnen Datenbank Server verwenden. Die Anleitung zum MySQL-Cluster finden Sie in
This link has been removed. Links are only visible for members. Please login with your username and password and try again.


Installation


apt install icinga2 icinga2-ido-mysql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
icinga2-bin icinga2-common icinga2-doc libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0
libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0 libicu72 lsb-release monitoring-plugins-basic monitoring-plugins-common
Suggested packages:
vim-icinga2
The following NEW packages will be installed:
icinga2 icinga2-bin icinga2-common icinga2-doc libboost-context1.74.0 libboost-coroutine1.74.0 libboost-filesystem1.74.0 libboost-iostreams1.74.0
libboost-program-options1.74.0 libboost-regex1.74.0 libboost-thread1.74.0 libicu72 lsb-release monitoring-plugins-basic monitoring-plugins-common
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.9 MB of archives.
After this operation, 89.5 MB of additional disk space will be used.
[...]
Creating config file /etc/nagios-plugins/config/disk.cfg with new version

Creating config file /etc/nagios-plugins/config/dummy.cfg with new version

Creating config file /etc/nagios-plugins/config/ftp.cfg with new version

Creating config file /etc/nagios-plugins/config/http.cfg with new version

Creating config file /etc/nagios-plugins/config/load.cfg with new version

Creating config file /etc/nagios-plugins/config/mail.cfg with new version

Creating config file /etc/nagios-plugins/config/news.cfg with new version

Creating config file /etc/nagios-plugins/config/ntp.cfg with new version

Creating config file /etc/nagios-plugins/config/ping.cfg with new version

Creating config file /etc/nagios-plugins/config/procs.cfg with new version

Creating config file /etc/nagios-plugins/config/real.cfg with new version

Creating config file /etc/nagios-plugins/config/ssh.cfg with new version

Creating config file /etc/nagios-plugins/config/tcp_udp.cfg with new version

Creating config file /etc/nagios-plugins/config/telnet.cfg with new version

Creating config file /etc/nagios-plugins/config/users.cfg with new version
Setcap for check_icmp and check_dhcp worked!
Setting up libboost-coroutine1.74.0:amd64 (1.74.0+ds1-21) ...
Setting up icinga2-common (2.13.6-2) ...
Adding system-user for nagios
Setting up icinga2-bin (2.13.6-2) ...
enabling default icinga2 features
Enabling feature checker. Make sure to restart Icinga 2 for these changes to take effect.
Enabling feature notification. Make sure to restart Icinga 2 for these changes to take effect.
Enabling feature mainlog. Make sure to restart Icinga 2 for these changes to take effect.
Created symlink /etc/systemd/system/multi-user.target.wants/icinga2.service → /lib/systemd/system/icinga2.service.
Setting up icinga2 (2.13.6-2) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...


Konfiguration


To view this entry in full, you must be a customer of Securebit AG. You can order any product from our range.

If you are already a customer, you can log in here.