Comment 4 for bug 1310723

Revision history for this message
Pavel A. (vpaul) wrote : Re: running-slave check fails

yes, fix I've proposed works for me.

RES=`HOME=/var/lib/zabbix mysql -e 'SHOW SLAVE STATUS\G' | egrep '(Slave_IO_Running|Slave_SQL_Running):' | awk -F: '{print $2}' | tr '\n' ','`

should work as well but defining HOME in the beginning is more clear, imho. It will be also easier to describe that in docu.