Icingadb.conf in icinga2 features folder

Hello,

we recently found this config (/etc/icinga2/features-enabled/icingadb.conf) in the features-enabled folder for icinga2 and are not sure what the usage for this config ist.

We sometimes change the database used for icingadb but we mainly only change the IP in the config.yaml under /etc/icingadb and under the icingaweb2 resources.ini.

At the moment the there is 127.0.0.1 set in it but that is not the used IP for the database in the config.yaml.

I was not able to find any documentation on it.

Does anybody know what it is used for?

Regards

Alexander

This file is most likely Icinga 2’s IcingaDB feature object, which needs to be enabled if you want to use Icinga DB with Icinga 2. In this file, the Redis can be configured, where Icinga 2’s IcingaDB feature sends data to, being picked up by the Icinga DB daemon, which eventually writes these data to the relational database. This is also described in the big picture section of the Icinga DB documentation.

Thank you for the quick answere, this is the solution.

Just to be sure I checked the password in the config with the one for redis and both are the same.