Installing icinga2 with icinga director for host management

I followed the tutorial here https://www.vultr.com/docs/how-to-install-icinga-2-and-icinga-web-2-on-ubuntu-16-04

And then download this https://github.com/Icinga/icingaweb2-module-director

Unzip into /usr/share/icingaweb2/modules with folder name 'director'

Follow tutorial at https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/02-Installation.md

Run: icinga2 node wizard

Use defaults (i.e. press enter a few times)

Get API credentials with more /etc/icinga2/conf.d/api-users.conf

Install php-curl

sudo apt install php-curl

Insert information into icinga director.

Now it's confusing. In order to make hosts you must first make a host template. Otherwise when you deploy a host it will fail with: critical/config: Error: Validation failed for object 'JoshServer' of type 'Host'; Attribute 'check_command': Attribute must not be empty.

Published 2016-12-23