Hi there,
I have quite a strange situation coming up.
Two windows servers (ad1 and ad2), both configured identically, incl.
- operating system (Windows Server 2012 R2)
- same icinga client installer file
- same procedure (saving PS script in Director, Running after installation wizard configuration wizard on server, restarting)
- same host config in director (really identically, compared by screenshots)
I defined a new command “powershell”.
This was exported and could be used by one of the servers (ad1) but not on ad2 (command powershell not found error).
Now I compared the configuration files of icinga client on those two servers and I see a difference:
ad2 has the global master zone missing:
object Zone "director-global" {
global = true
}
as well as
const PowerShellIcinga2EnableLog = true;
which are missing.
icinga2.exe object list --type endpoint
confirms this as the director-global zone is missing.
The zones.conf in both hosts contains:
object Zone "global-templates" {
global = true
}