Page MenuHomePhabricator

tools-redis-1002: "diamond[9419]: ResponseError: unknown command 'CONFIG'"
Closed, DeclinedPublic

Description

Dec 12 20:20:35 tools-redis-1002 diamond[9419]: Collector failed!
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: Traceback (most recent call last):
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/diamond/utils/scheduler.py", line 73, in collector_process
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: collector._run()
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/diamond/collector.py", line 477, in _run
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: self.collect()
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/share/diamond/collectors/redisstat/redisstat.py", line 361, in collect
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: self.collect_instance(nick, host, int(port), unix_socket, auth)
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/share/diamond/collectors/redisstat/redisstat.py", line 309, in collect_instance
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: 'maxmemory')
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/share/diamond/collectors/redisstat/redisstat.py", line 282, in _get_config
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: config_value = client.config_get(config_key)
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/redis/client.py", line 576, in config_get
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: return self.execute_command('CONFIG GET', pattern)
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/redis/client.py", line 529, in execute_command
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: return self.parse_response(connection, command_name, **options)
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/redis/client.py", line 541, in parse_response
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: response = connection.read_response()
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 550, in read_response
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: raise response
Dec 12 20:20:35 tools-redis-1002 diamond[9419]: ResponseError: unknown command 'CONFIG'

Event Timeline

GTirloni created this task.Dec 12 2018, 8:21 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 12 2018, 8:21 PM
GTirloni triaged this task as Low priority.Dec 12 2018, 8:24 PM

CONFIG is not available in the Toolforge redis instances: https://github.com/wikimedia/puppet/blob/production/modules/toollabs/manifests/redis.pp#L45

I couldn't find a configuration option to limit which metrics it tries to collect. Diamond is being deprecated and no further work will be done. Closing task.

GTirloni closed this task as Declined.Dec 13 2018, 4:47 PM
GTirloni claimed this task.