[ZBX-18935] Agent2 Redis Plugin does not support SSL Created: 2021 Jan 28  Updated: 2021 Feb 01  Resolved: 2021 Feb 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: 5.2.4
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Gavin Hill Assignee: Igor Gorbach (Inactive)
Resolution: Won't fix Votes: 0
Labels: agent2, plugin, redis
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. Establish Azure redis cashe
  2. Enable SSL access only on redis cashe in Azure

Result:
2021/01/28 11:48:34.565277 [Redis] Connection failed: read tcp 172.16.8.27:59038->102.133.163.29:6380: i/o timeout.
2021/01/28 11:48:34.654139 [Redis] Connection failed: read tcp 172.16.8.27:59118->102.133.163.29:6380: read: connection reset by peer.See memory dump...
Expected:
Successful connection



 Comments   
Comment by Igor Gorbach (Inactive) [ 2021 Feb 01 ]

Hello!

Please, provide agent configuration file (including redis plugin settings)

Regards, Igor

Comment by Gavin Hill [ 2021 Feb 01 ]

Vanilla agent2.conf file with the following added:

/etc/zabbix/zabbix_agent2.d/redis.conf

Plugins.Redis.KeepAlive=300
Plugins.Redis.Sessions.Prod.Uri=tcp://Prod-Vum-RedisCache-AlertsCache-SAN.redis.cache.windows.net:6380
Plugins.Redis.Sessions.Prod.Password=<redacted>

 

zabbix_get -s 172.16.8.27 -p 10050 -k "redis.ping[Prod]"
0

 

Changing the port from 6380 to 6379 produces:

zabbix_get -s 172.16.8.27 -p 10050 -k "redis.ping[Prod]"
1

 

Redis server is set to listen without SSL on port 6379 and with SSL on 6380

 

 

 

 

Comment by Igor Gorbach (Inactive) [ 2021 Feb 01 ]

Hello!

Template DB Redis was deployed before Redis 6th version ,where SSL support was featured, so it is not a Zabbix bug

If you wanna to get SSL support feature for this template you're able to create Zabbix Feature request for plugin modifying

 

 

Generated at Thu May 22 07:05:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.