Icinga
We start from icinga2 packages:
-
How to Install Icinga 2 Monitoring Software on Debian 12
Caution
Fix
admin
email in/etc/icinga2/conf.d/users.conf
prior to starting **any** Icinga related service:object User "icingaadmin" { import "generic-user" display_name = "Icinga 2 Admin" groups = [ "icingaadmins" ] email = "root@localhost" }
object User "icingaadmin" { import "generic-user" display_name = "Icinga 2 Admin" groups = [ "icingaadmins" ] email = "yourEmail@whatsoever.org" }
Installation road map:
-
Base system + Icinga web
-
Optional: Setting up Icinga 2 API (prerequisite for the “director” module)
-
Configure “director” module.
Tip
-
Creating an initial Apache / Nginx configuration can be achieved using:
icingacli setup config webserver {apache|nginx} --document-root /usr/share/icingaweb2/public
-
Configuration validation:
icinga2
daemon
--validate
-
Module “setup” activation being prerequisite for executing icingacli
setup
...
commands:icingacli
module
enable
setup
-
Command feature activation:
icinga2
feature
enable
command
systemctlrestart
icinga2.service
-
vim Icinga configuration file syntax highlighting:
aptitude
install
vim-icinga2
mkdir-p
~/.vim/syntax
ln-s
/usr/share/vim/addons/syntax/icinga2.vim
~/.vim/syntax