Difference between revisions of "Icinga2"

From HoerupWiki
Jump to: navigation, search
Line 3: Line 3:
 
* see this https://www.howtoforge.com/tutorial/install-icinga2-and-icingaweb2-on-centos-7/
 
* see this https://www.howtoforge.com/tutorial/install-icinga2-and-icingaweb2-on-centos-7/
 
* base debian9 vm (2vcpu + 1gb mem + 4gb disk)
 
* 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)
+
* <code>apt-get install mariadb-server</code>   (note that mariadb root uses socket auth like postgres has been doing for many years)
* apt-get install icinga2 monitoring-plugins
+
* <code>apt-get install icinga2 monitoring-plugins icingacli</code>
* apt-get install icinga2-ido-mysql (this will create database and mysql user)
+
* <code>apt-get install icinga2-ido-mysql</code> (this will create database and mysql user)
* apt-get install vim-icinga2 (this is optional)
+
* <code>apt-get install vim-icinga2</code> (this is optional)
* icinga2 feature enable command
+
* <code>icinga2 feature enable command</code>
* apt-get install icingaweb2
+
* <code>apt-get install icingaweb2</code>
 
** /etc/php/7.0/apache2/php.ini: set date.timezone = Europe/Copenhagen
 
** /etc/php/7.0/apache2/php.ini: set date.timezone = Europe/Copenhagen
 
** mysql: create database for icingaweb
 
** mysql: create database for icingaweb
 
** open http://<ip>/icingaweb2/ and follow the wizard
 
** open http://<ip>/icingaweb2/ and follow the wizard

Revision as of 10:08, 16 February 2017

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)
  • apt-get install vim-icinga2 (this is optional)
  • icinga2 feature enable command
  • apt-get install icingaweb2
    • /etc/php/7.0/apache2/php.ini: set date.timezone = Europe/Copenhagen
    • mysql: create database for icingaweb
    • open http://<ip>/icingaweb2/ and follow the wizard