Open canepan opened 12 years ago
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;
Maybe we need another set of slave_running/slave_stopped metric, for the io thread. I'll check how I can add this.
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;