Closed mmattel closed 3 years ago
Sockets in redis.pm
are not supported right now.
You already have been opened the same question in issue #316.
This issue asks request solution for two problems:
When using a socket instead a host:post configuration for redis, the log is spamed falsly with:
At the time the issue was created socket file connections were not supported. Please, refer to #316 and test that new feature.
Note: pls consider that redis can have the setting to use a password to access it. This is atm not considered at all.
Can you, please, provide an example of redis.conf
configured for password authentication?
Closing due to no response for two weeks.
If you still need more information, please add a comment and the issue can be reopened.
When using a socket instead a host:post configuration for redis, the log is spamed falsly with:
redis::redis_update: unable to connect to port '' on host ''/var/run/redis/redis-server.sock'': Invalid argument
This should be corrected because when using a socket, there is no port. Means, if there is no
:port
in the definition, the check must be if you are able to connect to the socket and report that in case of issues.When restarting monitorix, the log tells in addition:
Note: pls consider that redis can have the setting to use a password to access it. This is atm not considered at all.