#!/bin/bash mysql -u zabbixdbmon -p2p@z6q_UmL^kL#pW -e "show slave status \G" | grep -E 'Slave_(IO|SQL)_Running:'