Icinga2

From HoerupWiki
Revision as of 12:53, 16 February 2017 by Torben (talk | contribs)
Jump to: navigation, search

Base Icinga2 + web2

Notes for setting up icinga2 on Debian9/Stretch

  • see this https://www.howtoforge.com/tutorial/install-icinga2-and-icingaweb2-on-centos-7/
  • base debian9 vm (2vcpu + 1gb mem + 4gb disk)
  • apt-get install mariadb-server (note that mariadb root uses socket auth like postgres has been doing for many years)
  • apt-get install icinga2 monitoring-plugins icingacli
  • apt-get install icinga2-ido-mysql (this will create database and mysql user)
  • icinga2 feature enable ido-mysql (make sure the module is enabled)
  • apt-get install vim-icinga2 (this is optional)
  • icinga2 feature enable command
  • apt-get install icingaweb2


Main config is in /etc/icinga2/icinga2.conf. Start looking at /etc/icinga2/conf.d/hosts.conf og /etc/icinga2/conf.d/services.conf