Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chriscroome opened this issue Apr 1, 2025 · 1 comment
Open

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

chriscroome opened this issue Apr 1, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@chriscroome
Copy link

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'
@chriscroome chriscroome added the enhancement New feature or request label Apr 1, 2025
@markuslf
Copy link
Member

markuslf commented Apr 1, 2025

Valkey v8 and Redis v7 are not the same, so that's definitely something we need to look at.

@markuslf markuslf self-assigned this Apr 1, 2025
@markuslf markuslf changed the title [Redis: ] Could the Redis plugin support the forks? redis-status: Could the Redis plugin support the forks? Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants