Node setup master zone redefined

Hi all, first post here

when I setup icinga2 node with

icinga2 node setup --ticket 96b144e824e7f9ca04c5ff2fc01a54780f253a0b --endpoint "neteye.rinomo.local,neteye,5665" --zone "master" --parent_host neteye.rinomo.local --trustedcert /etc/icinga2/pki/trusted-master.crt --cn svrquorum --listen "::,5665" --accept-config --accept-commands --disable-confd

and I try to start the agent, I get this error

root@svrquorum:/etc/icinga2# systemctl restart icinga2.service
Job for icinga2.service failed because the control process exited with error code.
See “systemctl status icinga2.service” and “journalctl -xeu icinga2.service” for details.
root@svrquorum:/etc/icinga2# systemctl status icinga2.service
× icinga2.service - Icinga host/service/network monitoring system
Loaded: loaded (/usr/lib/systemd/system/icinga2.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/icinga2.service.d
└─limits.conf
Active: failed (Result: exit-code) since Thu 2025-10-09 13:51:44 UTC; 12s ago
Duration: 1h 15min 32.551s
Process: 20693 ExecStartPre=/usr/lib/icinga2/prepare-dirs /etc/default/icinga2 (code=exited, status=0/SUCCESS)
Process: 20698 ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e ${ICINGA2_ERROR_LOG} (code=exited, status=1/FAILURE)
Main PID: 20698 (code=exited, status=1/FAILURE)
Status: “Config validation failed.”
CPU: 123ms

Oct 09 13:51:44 svrquorum icinga2[20765]: /etc/icinga2/zones.conf(16): }
Oct 09 13:51:44 svrquorum icinga2[20765]: /etc/icinga2/zones.conf(17):
Oct 09 13:51:44 svrquorum icinga2[20765]: /etc/icinga2/zones.conf(18): object Zone “master” {
Oct 09 13:51:44 svrquorum icinga2[20765]: ^^^^^^^^^^^^^^^^^^^^
Oct 09 13:51:44 svrquorum icinga2[20765]: /etc/icinga2/zones.conf(19): endpoints = [ “svrquorum” ]
Oct 09 13:51:44 svrquorum icinga2[20765]: /etc/icinga2/zones.conf(20): parent = “master”
Oct 09 13:51:44 svrquorum icinga2[20765]: [2025-10-09 13:51:44 +0000] critical/cli: Config validation failed. Re-run with ‘icinga2 daemon -C’ after fixing the config.
Oct 09 13:51:44 svrquorum systemd[1]: icinga2.service: Main process exited, code=exited, status=1/FAILURE
Oct 09 13:51:44 svrquorum systemd[1]: icinga2.service: Failed with result ‘exit-code’.
Oct 09 13:51:44 svrquorum systemd[1]: Failed to start icinga2.service - Icinga host/service/network monitoring system.

my zones.conf file is

/*
 * Generated by Icinga 2 node setup commands
 * on 2025-10-09 13:36:46 +0000
 */

object Endpoint "neteye.rinomo.local" {
        host = "neteye"
        port = "5665"
}

object Zone "master" {
        endpoints = [ "neteye.rinomo.local" ]
}

object Endpoint "svrquorum" {
}

object Zone "master" {
        endpoints = [ "svrquorum" ]
        parent = "master"
}

object Zone "global-templates" {
        global = true
}

object Zone "director-global" {
        global = true
}

I’m a icinga2 newbie, so it’s clear I’m missing something obvious

some more info

root@svrquorum:/etc/icinga2# icinga2 -V
icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.6-1)

Copyright (c) 2012-2025 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
  Platform: Ubuntu
  Platform version: 24.04.3 LTS (Noble Numbat)
  Kernel: Linux
  Kernel version: 6.8.0-85-generic
  Architecture: x86_64

Build information:
  Compiler: GNU 13.3.0
  Build host: runner-hh8q3bz2-project-575-concurrent-0
  OpenSSL version: OpenSSL 3.0.13 30 Jan 2024

Application information:

General paths:
  Config directory: /etc/icinga2
  Data directory: /var/lib/icinga2
  Log directory: /var/log/icinga2
  Cache directory: /var/cache/icinga2
  Spool directory: /var/spool/icinga2
  Run directory: /run/icinga2

Old paths (deprecated):
  Installation root: /usr
  Sysconf directory: /etc
  Run directory (base): /run
  Local state directory: /var

Internal paths:
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

TIA

The argument --zone in the node setup command is the “local” zone, meaning the zone of the agent/satellite or whatever you are trying to setup here.
In most cases this should be equal to the hostname/icinga nodename, in your case srvquorum

1 Like

thank you for your hint.. will try right now..