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

Reporting Slave I/O running #16

Open
canepan opened this issue Apr 2, 2012 · 1 comment
Open

Reporting Slave I/O running #16

canepan opened this issue Apr 2, 2012 · 1 comment

Comments

@canepan
Copy link

canepan commented Apr 2, 2012

Is it possible to have the status of the "slave_io_running, beyond having 2 values for "slave_sql_running"?
I obtained it changing the "slave_stopped" variable to report it, but I don't think it's the right way of doing it.

Now I have:
$status{'slave_running'} = ($newrow{'slave_sql_running'} eq 'Yes') ? 1 : 0;
$status{'slave_stopped'} = ($newrow{'slave_io_running'} eq 'Yes') ? 0 : 1;

@masterzen
Copy link
Owner

Maybe we need another set of slave_running/slave_stopped metric, for the io thread.
I'll check how I can add this.

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