redis-collectd-plugin
redis-collectd-plugin copied to clipboard
Unhandled python exception in read callback: ValueError: too many values to unpack (expected 2)
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)