HI
I have recently setup redis 6.0 and now i would like to monitor it.
I have an issue with the connection. And I think my problem is that I use ACL authentication method in redis.
So when I connect to redis I do it with a username and password and not just the masterauth (not set) (default user is disabled also).
I am also running it with sentinel so it functions as a failover. Instancename mymaster
I have edited this macro in the template redis (build in, template tooling version used: 0.38) to:
Redis: Ping If I use this I get no error but just the value 0
tcp://10.10.10.100:7000
If i switch to redis: Get info i get this error:
If I try to set in username and password I also get an error
tcp://10.10.10.100:7000,user=MyUser,password=MyPassword i get this error:
But when i go to redis: get info i get this error:
I have added this to the zabbix_agent2.connf:
Plugins.Redis.Sessions.mymaster.Uri=tcp://10.10.10.100:7000
#Plugins.Redis.Sessions.mymaster.User/Username=MyUser (if I uncomment this I get this error:
Plugins.Redis.Sessions.mymaster.Password=MyPasswor d
I's it possible to do what i'm trying to achieve?
I have recently setup redis 6.0 and now i would like to monitor it.
I have an issue with the connection. And I think my problem is that I use ACL authentication method in redis.
So when I connect to redis I do it with a username and password and not just the masterauth (not set) (default user is disabled also).
I am also running it with sentinel so it functions as a failover. Instancename mymaster
I have edited this macro in the template redis (build in, template tooling version used: 0.38) to:
Redis: Ping If I use this I get no error but just the value 0
tcp://10.10.10.100:7000
If i switch to redis: Get info i get this error:
- NOAUTH Authentication Required.
If I try to set in username and password I also get an error
tcp://10.10.10.100:7000,user=MyUser,password=MyPassword i get this error:
- failed to parse connection string
But when i go to redis: get info i get this error:
- ERR AUTH <Password> Called Without Any Password Configured For The Default User. Are You Sure Your Configuration Is Correct?.
I have added this to the zabbix_agent2.connf:
Plugins.Redis.Sessions.mymaster.Uri=tcp://10.10.10.100:7000
#Plugins.Redis.Sessions.mymaster.User/Username=MyUser (if I uncomment this I get this error:
- Get value from agent failed: cannot connect to [[10.0.0.84]:10050]: [111] Connection refused
Plugins.Redis.Sessions.mymaster.Password=MyPasswor d
I's it possible to do what i'm trying to achieve?