I just installed icinga2 via the doku. but now i come across the redis configuration in the icinga web setup.
“primary connection established but failed to verify icinga is connected as well”
as the redis host i wrote localhost
Can anyone help me?
I just installed icinga2 via the doku. but now i come across the redis configuration in the icinga web setup.
“primary connection established but failed to verify icinga is connected as well”
as the redis host i wrote localhost
Can anyone help me?
It’s probably not helpful for you anymore, but I had the same problem today, too, and in case someone else experiences it: I missed the following commands:
icinga2 feature enable icingadb
systemctl restart icinga2
Source: Debian - Icinga 2
If that doesn’t work, check the output of systemctl status icingadb:
Feb 09 21:54:32 icinga2 icingadb[534]: Connecting to database at ‘pgsql://icingadb@localhost:5432/icingadb’
Feb 09 21:54:33 icinga2 icingadb[534]: Connecting to Redis at ‘redis://localhost:6380’
Feb 09 21:54:36 icinga2 icingadb[534]: Waiting for Icinga 2 to write into Redis, please make sure you have started Icinga 2 and the Icinga DB feature is enabled
A closer look to /etc/icingadb/config.yml and the type and password setting might help, too.
Hi !
Thanks for sharing your Problem.
It’s hard to debug an issue with almost none knowledge about the system itself.
It might be helpful if you could provide some more information about the system (redhat or debian based) / what Version of icinga2 and it’s components are installed as well which version of database and redis is in usage as well as the config files which are involved probably.
Your might need to remove the credentials from the config files before posting.
But most users could help you better with knowledge of those things beforehand.
Regards
David