Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check mysql slave io running
checks to see if mysql slave io is running. written in a shell script, so its easily portable.
Reviews (1)
bybasd82, October 5, 2011
The script workt great after i made some modification. the wrote left out the host part.
so i changed answer= to
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave status\G' | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`
so i changed answer= to
answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave status\G' | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`