I’m currently running Icinga 2.14 and 1.11 from the Ubuntu PPA (not the pre-packaged Ubuntu versions) and I’m having some problems adding the host that Icinga and Director run on into the Director management. I had read previously that you just add the host in to director as normal, then remove the default settings in conf.d/hosts.conf and services.conf However whenever I add the host into director and run a deploy, it corrupts my config files (icinga.conf ends up having the include_recursive “conf.d” line removed) and everything breaks.
Is there an approved way to do this?
Here is my corrupted icinga.conf for reference:
/** Icinga 2 Config - proposed by Icinga Director */ include "constants.conf" const NodeName = "MYHOSTNAME" include "zones.conf" include "features-enabled/*.conf" include <itl> include <plugins> include <plugins-contrib> include <manubulon> include <windows-plugins> include <nscp>