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

slave_stopped = 1 when slave_io_running or slave_sql_running is not working #25

Open
e-cortes opened this issue Nov 28, 2013 · 0 comments

Comments

@e-cortes
Copy link

Slave_stopped should be enabled when slave_io_running OR slave_sql_running is 0
Change lines to:
$status{'slave_running'} = (($newrow{'slave_sql_running'} eq 'Yes') && ($newrow{'slave_io_running'} eq 'Yes')) ? 1 : 0;
$status{'slave_stopped'} = (($newrow{'slave_sql_running'} eq 'Yes') && ($newrow{'slave_io_running'} eq 'Yes')) ? 0 : 1;

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

1 participant