mysql-snmp icon indicating copy to clipboard operation
mysql-snmp copied to clipboard

Reporting Slave I/O running

Open canepan opened this issue 12 years ago • 1 comments

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;

canepan avatar Apr 02 '12 12:04 canepan

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

masterzen avatar Apr 06 '12 12:04 masterzen