Skip to content

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

@e-cortes

Description

@e-cortes

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions