It seems that Icinga DB is not running. Make sure Icinga DB is running and writing into the database

In icingadb -> health I get the follwoing message:
It seems that Icinga DB is not running. Make sure Icinga DB is running and writing into the database.
But it seems to be running:
systemctl status icingadb
● icingadb.service - Icinga DB
Loaded: loaded (/usr/lib/systemd/system/icingadb.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-04-16 18:22:04 CEST; 2min 14s ago
Main PID: 2189 (icingadb)
Tasks: 7 (limit: 26213)
Memory: 20.4M
CGroup: /system.slice/icingadb.service
└─2189 /usr/sbin/icingadb --config /etc/icingadb/icingadb.ini

I have enabled debugging in icingadb and see the follwing messages:
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“StateSync: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“flappingHistory: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“commentHistory: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“acknowledgementHistory: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“downtimeHistory: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“OverdueSync: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“StateSync: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“OverdueSync: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“stateHistory: Waiting for EnvId to be set”
Apr 16 18:24:19 MonA-CORE01 icingadb[2189]: time=“2020-04-16T18:24:19+02:00” level=debug msg=“notificationHistory: Waiting for EnvId to be set”

Where should I be looking to solve this problem?

Best regards,
Rob Hassing

Hi,

did you enable the icingadb feature in Icinga 2? Does the Icinga 2 log contain any more hints?

I never found that in the icingadb documentation. Thank you, that failed :slight_smile:

Hello there!

I see that your question has already been answered, which is nice!
Can you please mark the answer as the solution?
This way others will know the question has been answered already.

I would like to direct you to our formatting guide for future posts :slight_smile:
It’s a lot more readable to have the dumps in code formatting :slight_smile:

Have a nice day!
Feu