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