Installing icinga2 with icinga director for host management

I followed the tutorial here

And then download this

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

Follow tutorial at

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