Icinga2AgentModule: Do not set display_name property

Hi,

I’m using the Icinga2 Powershell Module to deploy the Icinga2 Agent with the Director Self-service API.
One thing that bugs me is that the Display name of the host object always is set to the FQDN.
The host name is set, as defined in the self-service api settings, to the non-FQDN name.

I tried deleting , "display_name": "{0}"from line 2526, but that didn’t make any difference.
Is this a problem with the module or with the Icinga Director (or the self-service API)?

self-service api settings:
image

Does anyone know how to disable the settings of the display name?

Cheers :slight_smile: