Already tried one topic but it didn’t work:
change hostname at OS level
rm /var/lib/icinga2/ca/*
rm /var/lib/icinga2/certs/*
rm /var/cache/icinga2/*
icinga2 feature disable api
vi /etc/icinga2/constants.conf
icinga2 api setup
icinga2 daemon -C
I generated few scripts also with AI, but they don’t seem to effectively change all zones(hostname) entries.
Information about Icinga:
- version: r2.14.2-1
- Debian GNU/Linux 11 (bullseye)
- Enabled features: api checker icingadb ido-pgsql mainlog notification
- Icinga Web 2 Version 2.12.1
- Modules:
|businessprocess||2.4.0|
|director||1.10.2|
|doc||2.12.1|
|icingadb||1.1.2|
|graphite||1.2.2|
|incubator||0.20.0|
|migrate||2.12.1
|nagvis||1.1.1|
|pdfexport||0.10.2|
|reactbundle||0.7.0|
|reporting||0.10.0|
|translation||2.12.1|
|vspheredb||1.7.1|name=vspheredb)||x509||1.1.2|
The problem is because i migrated all the entries from old Icinga (with old ido monitoring) to new backend Icinga. I still need most of the command templates, services, hosts, etc.. And I wasn’t able to find or effectively solve all the changes on the director/api packages level the most. If somebody was able to do it, I would be grateful for procedure.