Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple instances with password file not work as expect #975

Open
yaron-xu opened this issue Feb 10, 2025 · 2 comments
Open

multiple instances with password file not work as expect #975

yaron-xu opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels

Comments

@yaron-xu
Copy link

Describe the problem
monitor multiple redis instance with pwd file ,only redis with no passwd can work,redis with passwd cannot work

What version of redis_exporter are you running?
v1.67.0

Running the exporter
/usr/local/redis_exporter-v1.67.0.linux-amd64/redis_exporter --web.listen-address=:29121 --redis.password-file=/usr/local/redis_exporter-v1.67.0.linux-amd64/config/pwd-conf.json --redis-only-metrics

i run the exporter with debug mode ,the log see the redis://xxx:6379,while the passwd file write rediss://xxxx:6379

Image

pwd-conf.json
{
"redis://master.iread-cache-redis.vuim5m.apse1.cache.amazonaws.com:6379":"",
"rediss://master.send-mail-redis.vuim5m.apse1.cache.amazonaws.com:6379":"*******"
}

@yaron-xu
Copy link
Author

prometheus server side also needs to config rediss://

@oliver006
Copy link
Owner

Thanks for raising this issue.
I need to dig into this a little further (I don't use redis&tls&passwords) but from a cursory look this seems like a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants