Open e-cortes opened 10 years ago
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;
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;