Hello
i have deleted a virtuell Server
i have deleted the client in
/etc/icinga2/zones.conf
doing a
icinga2 daemon -C
i got a error
critical/config: Error: Validation failed for object ‘addc-01.kozo.ch!load’ of type ‘Service’; Attribute ‘command_endpoint’: Object ‘addc-01.kozo.ch’ 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?
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.
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?