Hello,
I try to add checks (services) running on “Icinga2 Agent” for hosts imported form vspheredb. I get this error:
[2024-01-06 13:46:02 +0000] critical/config: Error: Validation failed for object ‘desktop01.my.domain!Service Template - Apt’ of type ‘Service’; Attribute ‘command_endpoint’: Object ‘desktop01.my.domain’ of type ‘Endpoint’ does not exist. Location: in [stage]/zones.d/director-global/service_templates.conf: 48:5-48:32 [stage]/zones.d/director-global/service_templates.conf(46): enable_notifications = true [stage]/zones.d/director-global/service_templates.conf(47): enable_active_checks = true [stage]/zones.d/director-global/service_templates.conf(48): command_endpoint = host_name ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
What am I doing wrong?
My installation is:
Icinga Web 2 Version 2.12.1
Git commit cd2daeb2cb8537c633d343a29eb76c54cd2ebbf2
PHP Version 7.4.33
Git commit date 2023-11-15
Loaded Libraries
icinga/icinga-php-thirdparty 0.12.0
icinga/icinga-php-library 0.13.1
Loaded Modules
director 1.9.1 Configure
doc 2.12.1 Configure
graphite 1.2.0 Configure
incubator 0.20.0 Configure
ipl v0.5.0 Configure
monitoring 2.12.1 Configure
reactbundle 0.9.0 Configure
vspheredb 1.7.1 Configure
Copyright © 2013-2024 Icinga GmbH
I have only one (master) zone.
Greetings
Andreas