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

return CRITICAL instead of UNKNOWN when check-redis reachable is failed #865

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

kmuto
Copy link
Member

@kmuto kmuto commented Jun 10, 2024

I believe check-redis reachable is intented to check a rechability.
Unlike the expectation of returning OK / CRITICAL, this command returns OK / UNKNOWN.

Here is a proposal patch to change the behavior. This may be breaking change, but it should meet user's expectation.

Copy link
Contributor

@yseto yseto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good.

@kmuto kmuto merged commit 9867ab1 into mackerelio:master Jun 10, 2024
16 checks passed
@kmuto kmuto deleted the return-critical-on-reachable branch June 10, 2024 05:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants