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

redisdb: add replication service check and 'down since' metric #1329

Closed

Conversation

pbitty
Copy link
Contributor

@pbitty pbitty commented Jan 29, 2015

This add a service checks for redis slaves, which reports CRITICAL when the slave loses a link with the master. It will also report the amount of seconds the link has been down.

@pbitty
Copy link
Contributor Author

pbitty commented Jan 29, 2015

The service check is named custom_check.redis.replication.master_link_status for now. With just the redis prefix, I could not create a monitor for it. I've contacted support about the issue.

@pbitty pbitty force-pushed the redis_replication_service_check branch from b73695f to dfc63f1 Compare January 30, 2015 04:51
@remh remh added this to the 5.3.0 milestone Jan 30, 2015
@remh
Copy link

remh commented Jan 30, 2015

Thanks a bunch a @pbitty !

Our master branch is currently frozen for the preparation of our 5.2.0 release.

We'll review your pull request for our 5.3.0 release.
Thanks again!

@pbitty
Copy link
Contributor Author

pbitty commented Feb 2, 2015

Thanks @remh . I just added a time.sleep to the tests, to make sure some metrics can build up. I had this in the tests but lost it on a rebase.

@remh remh assigned hkaj Mar 6, 2015
@remh
Copy link

remh commented Mar 13, 2015

@pbitty Could you merge the master branch back to your branch and fix the conflicts please ? We can't merge it as is.

Thanks a lot !

@remh
Copy link

remh commented Mar 18, 2015

Closing in favor of #1447
Thanks a lot @pbitty !

@remh remh closed this Mar 18, 2015
@pbitty
Copy link
Contributor Author

pbitty commented Mar 26, 2015

Thanks @remh. Sorry for the late response. I was on vacation with no internet connection at all.

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

Successfully merging this pull request may close these issues.

3 participants