Skip to content

redis-status: Could the Redis plugin support the forks? #857

@chriscroome

Description

@chriscroome

Describe the solution you'd like

Due to Redis no longer being free open source software it has been forked several times, for example Valkey is packaged by Debian and RedHat.

Additional context

It appears to me that the redis-status plugin doesn't work with Valkey?

To test this I created a symlink:

ls /usr/local/bin/redis-cli -lah
lrwxrwxrwx 1 root root 19 Mar 26 14:12 /usr/local/bin/redis-cli -> /usr/bin/valkey-cli

And tried to run the plugin:

/usr/lib64/nagios/plugins/redis-status --password XXX --socket /run/valkey-cloud/valkey-server.sock
Traceback (most recent call last):
  File "/usr/lib64/nagios/plugins/redis-status", line 518, in 'module'
  File "/usr/lib64/nagios/plugins/redis-status", line 236, in main
KeyError: 'redis_mode'

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions