I am going through installing Icinga2 Director and got stuck when running the Kickstarter from the IcingaWeb2 GUI.
You can see that my Endpoint name is "icinga2-master11", running on localhost. So naturally in the Kickstarter GUI I put these values. Then I got the error saying it could not resolve the name of "icinga2-master11".
I had to then add this name to my /etc/hosts. Which allowed me to ping "icinga2-master11" (which resolves to localhost btw)
Why would I have to do this? In the GUI it ASKS for the host, which is localhost in my case, and I thought using that it will know to connect to localhost with Endpointname being "icinga2-master11". Rather it is looking for host "icinga2-master11" with endpoint name "icinga2-master11".
This really does not seem right.