Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@basd82
Favorites0
Views
Projects0
I got the script to work. the write left out the host part. to fix this you need to answer line to: answer=`$mysqlpath/mysql -u $user -p$pass -h $host -e 'show slave statusG' | /bin/grep Slave_SQL_Running | /usr/bin/cut -f2 -d:`
Reviewed 14 years ago
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 statusG' | /bin/grep Slave_IO_Running | /usr/bin/cut -f2 -d:`