Removing a Icinga2 Client

i have deleted a virtuell Server
i have deleted the client in

doing a
icinga2 daemon -C

i got a error

critical/config: Error: Validation failed for object ‘!load’ of type ‘Service’; Attribute ‘command_endpoint’: Object ‘’ of type ‘Endpoint’ does not exist.
Location: in /etc/icinga2/zones.d/services/service2debian9.conf:

where addc-01 the deleted Server is.
the file /etc/icinga2/zones.d/services/service2debian9.conf
it self is not calling the Host itself

so how to remove this error, or did i miss something?

have a nice day


you must delete the host object as well or at least the command_endpoint attribute in the host object. The error can occur when a service apply rule tries to create a service, which should run on the command endpoint, while the command endpoint is no longer available.


1 Like

Hello @mcktr

in /etc/icinga2/zones.conf
i have deleted this section, of course this on which have to bee removed :wink:

14 object Endpoint “” {
15 host = “”
16 }
18 object Zone “” {
19 endpoints = [ “” ]
20 parent = “master”
21 }

Found the error, the same information where also added in a second file - with more checks to do!
thanks for the feedback so far
have a nice day

Could you please mark this topic as solved, then? So other users see that you don’t need any more help and they don’t have to read through the whole thread?