Hello,
Under director, I tried to set up some services, it failed to deploy - error seems to be about “zone”… (I already defined the zone at kickstart ?!)
Under “Cluster Zone” I have 3 choices : -director-global, -global-template and -my-server-name (on which everytihng is running DB + Ic2 + ICweb2,…)
error :
[2024-12-10 20:25:50 +0100] information/cli: Icinga application loader (version: r2.14.2-1)
[2024-12-10 20:25:50 +0100] information/cli: Loading configuration file(s).
[2024-12-10 20:25:50 +0100] information/ConfigItem: Committing config item(s).
[2024-12-10 20:25:50 +0100] information/ApiListener: My API identity: lmonicp24.lx.finbel.intra
[2024-12-10 20:25:50 +0100] critical/config: Error: Validation failed for object 'MySERVERNAME[HiddenForPrivacy]!Disks' of type 'Service'; Attribute 'command_endpoint': Checkable with command endpoint requires a zone. Please check the troubleshooting documentation.
Location: in [stage]/zones.d/director-global/servicesets.conf: 9:1-9:21
[stage]/zones.d/director-global/servicesets.conf(7): */
[stage]/zones.d/director-global/servicesets.conf(8):
[stage]/zones.d/director-global/servicesets.conf(9): apply Service "Disks" {
^^^^^^^^^^^^^^^^^^^^^
[stage]/zones.d/director-global/servicesets.conf(10): import "Linux Disk"
[stage]/zones.d/director-global/servicesets.conf(11):
[2024-12-10 20:25:50 +0100] critical/config: 1 error
[2024-12-10 20:25:50 +0100] critical/cli: Config validation failed. Re-run with 'icinga2 daemon -C' after fixing the config.
I attached sceenshot to give an idea + error message
Thanks :
- Icinga Web 2 version - latest
- Web browser used - =firefox
- Icinga 2 version used (
icinga2 -- latest
) - RHEL - 9