-
Notifications
You must be signed in to change notification settings - Fork 600
Closed
Labels
area/distributedDistributed monitoring (master, satellites, clients)Distributed monitoring (master, satellites, clients)bugSomething isn't workingSomething isn't working
Description
Hello
When starting a new icinga2 instance inside a zone, icinga2 fails to start because config validation fails:
group in hosts are missing.
Looking on satellite filesystem (/var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d):
- hosts/*.conf are present as expected
- hostgroups/*.conf are absent (config exists on both masters).
I expect that icinga satellites load package" and hostgroups before hosts.
To fix this, I do:
- systemctl stop icinga2
- rm -f /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts/*.conf
- chattr +i /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts
- systemctl start icinga2
When hostgroups config is sync:
- systemctl stop icinga2
- chattr -i /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts
- systemctl start icinga2
I didn't experience this before icinga2 2.13.7-1+debian11
Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/distributedDistributed monitoring (master, satellites, clients)Distributed monitoring (master, satellites, clients)bugSomething isn't workingSomething isn't working