Icinga

We start from icinga2 packages:

Installation road map:

  1. Base system + Icinga web

  2. Optional: Setting up Icinga 2 API (prerequisite for the director module)

  3. 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
    systemctl restart 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