-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add password option to redis plugin #2786
Comments
Have you tried applying url escaping? I believe it would be We should change the input to have a password option instead of requiring it to be added to a url. |
I think we should rework this plugin to use gopkg.in/redis.v4 |
I have the same issue, the plugin never works with any password !. Please help. |
@h4ckroot Does it work with a weak password containing no symbols? |
Unfortunately, no !. I used the password: kool1, but that did not work !. |
I wonder if the reason the non-special character password didn't work is because a bad url format, there should be a leading |
Bug report
Relevant telegraf.conf:
[[inputs.redis]]
servers = ["tcp://123456$%^@localhost:6379"]
System info:
debian 8.8
Telegraf 1.2.1
Steps to reproduce:
telegraf -config /etc/telegraf/telegraf.conf -input-filter redis -test
Expected behavior:
Can generate right redis info
Actual behavior:
Unable to parse to address 'tcp://123456$%^@localhost:6379': parse tcp://123456$%^@localhost:6379: invalid URL escape "%^"
Feature Request
Proposal:
Current behavior:
only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL
Desired behavior:
allow other character in password
Use case: [Why is this important (helps with prioritizing requests)]
all password has this problem
The text was updated successfully, but these errors were encountered: