redis-collectd-plugin icon indicating copy to clipboard operation
redis-collectd-plugin copied to clipboard

Unhandled python exception in read callback: ValueError: too many values to unpack (expected 2)

Open asevere opened this issue 4 months ago • 0 comments

Since Redis 7.4 (maybe 7.2) info server command return a new line (ex: listener0:name=tcp,bind=*,bind=-::*,port=6379)

Possible workaround: replace https://github.com/powdahound/redis-collectd-plugin/blob/9ce1550c2507233176c8b2309d1c2b7c7f23e76e/redis_info.py#L158 with: key, val = line.split(':', 1)

asevere avatar Oct 14 '24 13:10 asevere