sensu-plugins / sensu-plugins-redis

This plugin provides native Redis instrumentation for monitoring and metrics collection, including: service health, database connectivity, replication status, `INFO` metrics, key counts, list lengths, and more.
http://sensu-plugins.io
MIT License
12 stars 44 forks source link

Is there redis-cli -c equivalent supported in this plugin #17

Open Lax77 opened 8 years ago

Lax77 commented 8 years ago

Typically when I use redis clients like redis-cli or Jedis, I have an option to connect with a node in the cluster and have it follow thru with option -c

When I have the plugin connect to my redis cluster I am getting the error '"redis connection error","error":"Redis server returned error code: MOVED 2242 188.0.1.45:6379"}'

Is there equivalent one available with the plugin to connect with Redis cluster?

redis-cli -c option defn: -c Enable cluster mode (follow -ASK and -MOVED redirections).

Thanks Lax

majormoses commented 7 years ago

Does not look like it, would welcome a contribution.