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监控当前节点角色状态是否有变化 #1123

Open
loveyang2012 opened this issue Jan 1, 2025 · 1 comment
Open

redis监控当前节点角色状态是否有变化 #1123

loveyang2012 opened this issue Jan 1, 2025 · 1 comment

Comments

@loveyang2012
Copy link

如题,在特定的场景下,网络或者阻塞,导致主从发生切换,但是redis服务并没有宕掉,那么categraf如何监控redis当前角色是否有发生变化呢?

@kongfei605
Copy link
Collaborator

redis插件内置的是info命令,其他都是通过指定命令来获取的。如果没有命令可以获取状态变化,那这个目标当前插件没办法实现了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants