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

Add a query for checking replication slave status via Slave_running variable #671

Merged
merged 1 commit into from Oct 10, 2013
Merged

Conversation

jslatts
Copy link
Contributor

@jslatts jslatts commented Sep 13, 2013

I am currently using this to graph and alert on slave status. This variable should be reliable enough on more recent versions of mysql to ascertain slave status.

I looked into grabbing Slave_IO_Running and Slave_SQL_Running, but the show slave status command does not allow isolation of those variables so we would have to manipulate the text post query which would have been a deeper change.

This also might help address issue #425

conorbranagan added a commit that referenced this pull request Oct 10, 2013
Add a query for checking replication slave status via Slave_running variable
@conorbranagan conorbranagan merged commit 69a4bd7 into DataDog:master Oct 10, 2013
@conorbranagan
Copy link
Member

Thanks @jslatts!

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.

2 participants