Open trauta opened 4 days ago
I'm not sure... can you use an UNIX socket in the IcingaDB feature of Icinga 2? https://icinga.com/docs/icinga-2/latest/doc/09-object-types/#icingadb
Yes you can, it is documented here: https://icinga.com/docs/icinga-db/latest/doc/03-Configuration/#redis-configuration
~# grep -A 1 'redis:' /etc/icingadb/config.yml
redis:
host: /run/icingadb-redis/icingadb-redis-server.sock
~# journalctl -e -u icingadb | tail -n 2
Sep 27 09:21:05 icingadb[339628]: Connecting to Redis at '/run/icingadb-redis/icingadb-redis-server.sock'
Sep 27 09:21:05 icingadb[339628]: Starting history sync
Hi,
I want the IcingaDB daemon to connect to the redis instance via UNIX socket, however when setting the path via the
icingadb::redis_host
parameter I get the following error which indicates that the parameter only accepts a valid host or IP address.Is there any way to use a socket based connection?